Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
AclCacheTrait.php
Go to the documentation of this file.
1<?php
3
5
15
16 protected static $KEY = 'acls/';
17
18 protected function getRootKey($element) {
19 return self::$KEY . \md5($element);
20 }
21
22 protected function createCache($part) {
23 if (! CacheManager::$cache->exists($part)) {
24 CacheManager::$cache->store($part, []);
25 }
26 }
27}
28
Manager for caches (Router, Rest, models).
Ubiquity\security\acl\cache\traits$AclCacheTrait This class is part of Ubiquity.