RolePermissionsEventContainer
class RolePermissionsEventContainer
Class RolePermissionsEventContainer is injected as user_plugin.role_permissions.event_container. This container is connecting RolePermissionsManager to other services
Constants
| ROLE_PERMISSIONS_CACHE_ID |
Cache key |
Properties
| protected ContainerInterface | $container |
Methods
__construct(ContainerInterface $container)
No description
bool|mixed
setRolePermissionsToCache(array $array)
Set data to cache
mixed
getCachedRolePermissions()
Get permissions from cache
bool|mixed
reCacheRolePermissions()
No description
User|null
getCurrentUser()
No description
Details
at line 33
__construct(ContainerInterface $container)
at line 44
bool|mixed
setRolePermissionsToCache(array $array)
Set data to cache
at line 53
mixed
getCachedRolePermissions()
Get permissions from cache