PHP Класс REBELinBLUE\Deployer\Http\Controllers\Admin\GroupController

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

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

Метод Описание
__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