PHP Class REBELinBLUE\Deployer\Http\Controllers\Admin\GroupController

Inheritance: extends REBELinBLUE\Deployer\Http\Controllers\Resources\ResourceController
Exibir arquivo Open project: rebelinblue/deployer

Public Methods

Method Description
__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.

Method Details

__construct() public method

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

index() public method

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

reorder() public method

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

store() public method

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

update() public method

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