PHP Класс REBELinBLUE\Deployer\Http\Controllers\Resources\CommandController

Наследование: extends ResourceController
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\CommandRepositoryInterface $commandRepository, REBELinBLUE\Deployer\Contracts\Repositories\ProjectRepositoryInterface $projectRepository ) CommandController constructor.
listing ( integer $target_id, integer $action ) : Illuminate\View\View Display a listing of before/after commands for the supplied stage.
reorder ( Illuminate\Http\Request $request ) : array Re-generates the order for the supplied commands.
store ( StoreCommandRequest $request ) : Model Store a newly created command in storage.
update ( integer $command_id, StoreCommandRequest $request ) : Model Update the specified command in storage.

Описание методов

__construct() публичный Метод

CommandController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\CommandRepositoryInterface $commandRepository, REBELinBLUE\Deployer\Contracts\Repositories\ProjectRepositoryInterface $projectRepository )
$commandRepository REBELinBLUE\Deployer\Contracts\Repositories\CommandRepositoryInterface
$projectRepository REBELinBLUE\Deployer\Contracts\Repositories\ProjectRepositoryInterface

listing() публичный Метод

Display a listing of before/after commands for the supplied stage.
public listing ( integer $target_id, integer $action ) : Illuminate\View\View
$target_id integer
$action integer
Результат Illuminate\View\View

reorder() публичный Метод

Re-generates the order for the supplied commands.
public reorder ( Illuminate\Http\Request $request ) : array
$request Illuminate\Http\Request
Результат array

store() публичный Метод

Store a newly created command in storage.
public store ( StoreCommandRequest $request ) : Model
$request REBELinBLUE\Deployer\Http\Requests\StoreCommandRequest
Результат Illuminate\Database\Eloquent\Model

update() публичный Метод

Update the specified command in storage.
public update ( integer $command_id, StoreCommandRequest $request ) : Model
$command_id integer
$request REBELinBLUE\Deployer\Http\Requests\StoreCommandRequest
Результат Illuminate\Database\Eloquent\Model