24 foreach ($cacheKeys as $key) {
39 $this->parts[$class] =
CacheManager::$cache->fetch($this->getRootKey($class));
40 return parent::loadAllPart($class);
44 $this->aclsArray =
CacheManager::$cache->fetch($this->getRootKey(
'acls'));
45 return parent::loadAllAcls();
53 CacheManager::$cache->store($this->getRootKey(
'acls'), $this->aclsArray);
59 foreach ($classes as $class) {
60 CacheManager::$cache->store($this->getRootKey($class), $this->parts[$class] ?? []);
65 $old=
CacheManager::$cache->fetch($this->getRootKey(
'acls'));
66 if ($old!=$this->aclsArray) {
74 foreach ($classes as $class) {
75 $old=CacheManager::$cache->fetch($this->getRootKey($class));
76 if ($old!=($this->parts[$class]??[])) {
85 'lock' =>
'In memory or annotations cache'
Manager for caches (Router, Rest, models).
Ubiquity\security\acl\cache\traits$AclCacheTrait This class is part of Ubiquity.
Ubiquity\security\acl\models$AbastractAclElement This class is part of Ubiquity.
Ubiquity\security\acl\models$AclElement This class is part of Ubiquity.
Ubiquity\security\acl\models$Permission This class is part of Ubiquity.
Ubiquity\security\acl\models$Resource This class is part of Ubiquity.
Ubiquity\security\acl\models$Role This class is part of Ubiquity.
Ubiquity\security\acl\persistence$AclArrayProvider This class is part of Ubiquity.
Ubiquity\security\acl\persistence$AclCacheProvider This class is part of Ubiquity.
loadAllAcls()
{{AclElement[]}\Ubiquity\security\acl\persistence\AclProviderInterfaceloadAllAcls()}