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

Inheritance: extends REBELinBLUE\Deployer\Http\Controllers\Resources\ResourceController
Afficher le fichier Open project: rebelinblue/deployer

Méthodes publiques

Méthode 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 méthode

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

index() public méthode

Display a listing of the groups.
public index ( ) : Illuminate\View\View
Résultat Illuminate\View\View

reorder() public méthode

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

store() public méthode

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

update() public méthode

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