PermissionMapInterface
interface PermissionMapInterface
This is the interface that must be implemented by permission maps.
Methods
array
getMasks(string $permission, object $object)
Returns an array of bitmasks.
bool
contains(string $permission)
Whether this map contains the given permission
Details
at line line 31
array
getMasks(string $permission, object $object)
Returns an array of bitmasks.
The security identity must have been granted access to at least one of these bitmasks.
at line line 39
bool
contains(string $permission)
Whether this map contains the given permission