Method | Description | |
---|---|---|
addPermission ( string $permission, boolean $value = true ) : Cartalyst\Sentinel\Permissions\PermissibleInterface | Adds a permission. | |
getPermissionsInstance ( ) : Cartalyst\Sentinel\Permissions\PermissionsInterface | Returns the permissions instance. | |
removePermission ( string $permission ) : Cartalyst\Sentinel\Permissions\PermissibleInterface | Removes a permission. | |
updatePermission ( string $permission, boolean $value = true, boolean $create = false ) : Cartalyst\Sentinel\Permissions\PermissibleInterface | Updates a permission. |
public addPermission ( string $permission, boolean $value = true ) : Cartalyst\Sentinel\Permissions\PermissibleInterface | ||
$permission | string | |
$value | boolean | |
return | Cartalyst\Sentinel\Permissions\PermissibleInterface |
public getPermissionsInstance ( ) : Cartalyst\Sentinel\Permissions\PermissionsInterface | ||
return | Cartalyst\Sentinel\Permissions\PermissionsInterface |
public removePermission ( string $permission ) : Cartalyst\Sentinel\Permissions\PermissibleInterface | ||
$permission | string | |
return | Cartalyst\Sentinel\Permissions\PermissibleInterface |