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)

Parameters

ContainerInterface $container

at line 44
bool|mixed setRolePermissionsToCache(array $array)

Set data to cache

Parameters

array $array

Return Value

bool|mixed

at line 53
mixed getCachedRolePermissions()

Get permissions from cache

Return Value

mixed

at line 61
bool|mixed reCacheRolePermissions()

Return Value

bool|mixed

at line 69
User|null getCurrentUser()

Return Value

User|null