PHP 클래스 REBELinBLUE\Deployer\Http\Controllers\Admin\GroupController

상속: extends REBELinBLUE\Deployer\Http\Controllers\Resources\ResourceController
파일 보기 프로젝트 열기: rebelinblue/deployer

공개 메소드들

메소드 설명
__construct ( REBELinBLUE\Deployer\Contracts\Repositories\GroupRepositoryInterface $repository ) GroupController constructor.
index ( ) : Illuminate\View\View Display a listing of the groups.
reorder ( Illuminate\Http\Request $request ) : array Re-generates the order for the supplied groups.
store ( StoreGroupRequest $request ) : Model Store a newly created group in storage.
update ( $group_id, StoreGroupRequest $request ) : Model Update the specified group in storage.

메소드 상세

__construct() 공개 메소드

GroupController constructor.
public __construct ( REBELinBLUE\Deployer\Contracts\Repositories\GroupRepositoryInterface $repository )
$repository REBELinBLUE\Deployer\Contracts\Repositories\GroupRepositoryInterface

index() 공개 메소드

Display a listing of the groups.
public index ( ) : Illuminate\View\View
리턴 Illuminate\View\View

reorder() 공개 메소드

Re-generates the order for the supplied groups.
public reorder ( Illuminate\Http\Request $request ) : array
$request Illuminate\Http\Request
리턴 array

store() 공개 메소드

Store a newly created group in storage.
public store ( StoreGroupRequest $request ) : Model
$request REBELinBLUE\Deployer\Http\Requests\StoreGroupRequest
리턴 Illuminate\Database\Eloquent\Model

update() 공개 메소드

Update the specified group in storage.
public update ( $group_id, StoreGroupRequest $request ) : Model
$group_id
$request REBELinBLUE\Deployer\Http\Requests\StoreGroupRequest
리턴 Illuminate\Database\Eloquent\Model