PHP Class Stevemo\Cpanel\Controllers\UsersPermissionsController

Inheritance: extends BaseController
ファイルを表示 Open project: stevemo/cpanel

Public Methods

Method Description
__construct ( Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions, Stevemo\Cpanel\User\Repo\CpanelUserInterface $users )
index ( integer $userId ) : Response Display the user permissins
update ( integer $userId ) : Response Update user permissions

Method Details

__construct() public method

public __construct ( Stevemo\Cpanel\Permission\Repo\PermissionInterface $permissions, Stevemo\Cpanel\User\Repo\CpanelUserInterface $users )
$permissions Stevemo\Cpanel\Permission\Repo\PermissionInterface
$users Stevemo\Cpanel\User\Repo\CpanelUserInterface

index() public method

Display the user permissins
Author: Steve Montambeault
public index ( integer $userId ) : Response
$userId integer
return Response

update() public method

Update user permissions
Author: Steve Montambeault
public update ( integer $userId ) : Response
$userId integer
return Response