class DoctrineAclCache implements AclCacheInterface
This class is a wrapper around the actual cache implementation.
PREFIX |
__construct(Cache $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy, string $prefix = self::PREFIX) Constructor | ||
clearCache() Removes all ACLs from the cache | ||
evictFromCacheById($aclId) Removes an ACL from the cache | ||
evictFromCacheByIdentity(ObjectIdentityInterface $oid) Removes an ACL from the cache | ||
AclInterface | getFromCacheById($aclId) Retrieves an ACL for the given object identity primary key from the cache | |
AclInterface | getFromCacheByIdentity(ObjectIdentityInterface $oid) Retrieves an ACL for the given object identity from the cache | |
putInCache(AclInterface $acl) Stores a new ACL in the cache |
Constructor
Removes all ACLs from the cache
Removes an ACL from the cache
Removes an ACL from the cache
The ACL which is returned, must reference the passed object identity.
Retrieves an ACL for the given object identity primary key from the cache
Retrieves an ACL for the given object identity from the cache
Stores a new ACL in the cache
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Acl/Domain/DoctrineAclCache.html