interface PermissionMapInterface
This is the interface that must be implemented by permission maps.
array | getMasks(string $permission, object $object) Returns an array of bitmasks. | |
bool | contains(string $permission) Whether this map contains the given permission |
Returns an array of bitmasks.
The security identity must have been granted access to at least one of these bitmasks.
Whether this map contains the given permission
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Acl/Permission/PermissionMapInterface.html