Property | Type | Description | |
---|---|---|---|
$form | Stevemo\Cpanel\Permission\Form\PermissionFormInterface | ||
$permissions | Stevemo\Cpanel\Permission\Repo\PermissionInterface |
Method | Description | |
---|---|---|
__construct ( Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions, Stevemo\Cpanel\Permission\Form\PermissionFormInterface $form ) | ||
create ( ) : Illuminate\View\View | Display new permission form | |
destroy ( $id ) : Illuminate\Http\RedirectResponse | Delete a permission module | |
edit ( $id ) : Illuminate\Http\RedirectResponse | Illuminate\View\View | Display the edit permission form | |
index ( ) : Illuminate\View\View | Display all the permissions | |
store ( ) : Illuminate\Http\RedirectResponse | Save new permissions into the database | |
update ( $id ) : Illuminate\Http\RedirectResponse | Process the edit form |
public __construct ( Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions, Stevemo\Cpanel\Permission\Form\PermissionFormInterface $form ) | ||
$permissions | Stevemo\Cpanel\Permission\Repo\PermissionInterface | |
$form | Stevemo\Cpanel\Permission\Form\PermissionFormInterface |
public create ( ) : Illuminate\View\View | ||
return | Illuminate\View\View |
public destroy ( $id ) : Illuminate\Http\RedirectResponse | ||
$id | ||
return | Illuminate\Http\RedirectResponse |
public edit ( $id ) : Illuminate\Http\RedirectResponse | Illuminate\View\View | ||
$id | ||
return | Illuminate\Http\RedirectResponse | Illuminate\View\View |
public index ( ) : Illuminate\View\View | ||
return | Illuminate\View\View |
public store ( ) : Illuminate\Http\RedirectResponse | ||
return | Illuminate\Http\RedirectResponse |
public update ( $id ) : Illuminate\Http\RedirectResponse | ||
$id | ||
return | Illuminate\Http\RedirectResponse |
protected PermissionFormInterface,Stevemo\Cpanel\Permission\Form $form | ||
return | Stevemo\Cpanel\Permission\Form\PermissionFormInterface |