Symfony\Component\Security\Acl\Domain\DoctrineAclCache
This class is a wrapper around the actual cache implementation.
- Author: Johannes M. Schmitt <schmittjoh@gmail.com>
Synopsis
class DoctrineAclCache
implements
AclCacheInterface
{
- // constants
- const PREFIX = 'sf2_acl_';
- // members
- private $cache;
- private $prefix;
- private $permissionGrantingStrategy;
- // methods
- public void __construct()
- public void clearCache()
- public void evictFromCacheById()
- public void evictFromCacheByIdentity()
- public void getFromCacheById()
- public void getFromCacheByIdentity()
- public void putInCache()
- private AclInterface unserializeAcl()
- private string getDataKeyByIdentity()
- private string getAliasKeyForIdentity()
Hierarchy
Constants
Name | Value |
---|---|
PREFIX | 'sf2_acl_' |
Members
private
- $cache
- $permissionGrantingStrategy
- $prefix
Methods
private
- getAliasKeyForIdentity() — Returns the alias key for the object identity key
- getDataKeyByIdentity() — Returns the key for the object identity
- unserializeAcl() — Unserializes the ACL.
public
- __construct() — Constructor
- clearCache() — {@inheritDoc}
- evictFromCacheById() — {@inheritDoc}
- evictFromCacheByIdentity() — {@inheritDoc}
- getFromCacheById() — {@inheritDoc}
- getFromCacheByIdentity() — {@inheritDoc}
- putInCache() — {@inheritDoc}