Property | Type | Description | |
---|---|---|---|
$id | User id | ||
$user | User |
Method | Description | |
---|---|---|
__construct ( $id, $user = null, $config = [] ) | ||
__get ( $name ) | ||
assign ( array $items ) : integer | Grands a roles from a user. | |
getItems ( ) : array | Get all available and assigned roles/permission | |
revoke ( array $items ) : integer | Revokes a roles from a user. |