PHP 클래스 REBELinBLUE\Deployer\Http\Controllers\Resources\CommandController

상속: extends ResourceController
파일 보기 프로젝트 열기: rebelinblue/deployer

공개 메소드들

메소드 설명
__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