Property | Type | Description | |
---|---|---|---|
$groups | Stevemo\Cpanel\Group\Repo\CpanelGroupInterface | ||
$permissions | Stevemo\Cpanel\Permission\Form\PermissionFormInterface | ||
$userForm | Stevemo\Cpanel\User\Form\UserFormInterface | ||
$users | Stevemo\Cpanel\User\Repo\CpanelUserInterface |
Method | Description | |
---|---|---|
__construct ( Stevemo\Cpanel\User\Repo\CpanelUserInterface $users, Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions, Stevemo\Cpanel\Group\Repo\CpanelGroupInterface $groups, Stevemo\Cpanel\User\Form\UserFormInterface $userForm ) | ||
create ( ) : Illuminate\View\View | Display add user form | |
destroy ( integer $id ) : Response | Delete a user | |
edit ( integer $id ) : Illuminate\Http\RedirectResponse | Display the user edit form | |
index ( ) : Illuminate\View\View | Show all the users | |
putActivate ( $id ) : Illuminate\Http\RedirectResponse | Activate a user | |
putDeactivate ( $id ) : Illuminate\Http\RedirectResponse | deactivate a user | |
show ( integer $id ) : Response | Show a user profile | |
store ( ) : Response | Create a new user | |
update ( integer $id ) : Illuminate\Http\RedirectResponse | Update user information |
public __construct ( Stevemo\Cpanel\User\Repo\CpanelUserInterface $users, Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions, Stevemo\Cpanel\Group\Repo\CpanelGroupInterface $groups, Stevemo\Cpanel\User\Form\UserFormInterface $userForm ) | ||
$users | Stevemo\Cpanel\User\Repo\CpanelUserInterface | |
$permissions | Stevemo\Cpanel\Permission\Repo\PermissionInterface | |
$groups | Stevemo\Cpanel\Group\Repo\CpanelGroupInterface | |
$userForm | Stevemo\Cpanel\User\Form\UserFormInterface |
public create ( ) : Illuminate\View\View | ||
return | Illuminate\View\View |
public index ( ) : Illuminate\View\View | ||
return | Illuminate\View\View |
public putActivate ( $id ) : Illuminate\Http\RedirectResponse | ||
$id | ||
return | Illuminate\Http\RedirectResponse |
public putDeactivate ( $id ) : Illuminate\Http\RedirectResponse | ||
$id | ||
return | Illuminate\Http\RedirectResponse |
protected CpanelGroupInterface,Stevemo\Cpanel\Group\Repo $groups | ||
return | Stevemo\Cpanel\Group\Repo\CpanelGroupInterface |
protected PermissionFormInterface,Stevemo\Cpanel\Permission\Form $permissions | ||
return | Stevemo\Cpanel\Permission\Form\PermissionFormInterface |
protected UserFormInterface,Stevemo\Cpanel\User\Form $userForm | ||
return | Stevemo\Cpanel\User\Form\UserFormInterface |