PHP Class Symfony\Component\Security\Acl\Domain\DoctrineAclCache

Author: Johannes M. Schmitt ([email protected])
Inheritance: implements Symfony\Component\Security\Acl\Model\AclCacheInterface
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
__construct ( Doctrine\Common\Cache\Cache $cache, Symfony\Component\Security\Acl\Model\PermissionGrantingStrategyInterface $permissionGrantingStrategy, string $prefix = self::PREFIX ) : void Constructor
clearCache ( ) {@inheritDoc}
evictFromCacheById ( $aclId ) {@inheritDoc}
evictFromCacheByIdentity ( Symfony\Component\Security\Acl\Model\ObjectIdentityInterface $oid ) {@inheritDoc}
getFromCacheById ( $aclId ) {@inheritDoc}
getFromCacheByIdentity ( Symfony\Component\Security\Acl\Model\ObjectIdentityInterface $oid ) {@inheritDoc}
putInCache ( Symfony\Component\Security\Acl\Model\AclInterface $acl ) {@inheritDoc}

Private Methods

Method Description
getAliasKeyForIdentity ( string $aclId ) : string Returns the alias key for the object identity key
getDataKeyByIdentity ( Symfony\Component\Security\Acl\Model\ObjectIdentityInterface $oid ) : string Returns the key for the object identity
unserializeAcl ( string $serialized ) : Symfony\Component\Security\Acl\Model\AclInterface Unserializes the ACL.

Method Details

__construct() public method

Constructor
public __construct ( Doctrine\Common\Cache\Cache $cache, Symfony\Component\Security\Acl\Model\PermissionGrantingStrategyInterface $permissionGrantingStrategy, string $prefix = self::PREFIX ) : void
$cache Doctrine\Common\Cache\Cache
$permissionGrantingStrategy Symfony\Component\Security\Acl\Model\PermissionGrantingStrategyInterface
$prefix string
return void

clearCache() public method

{@inheritDoc}
public clearCache ( )

evictFromCacheById() public method

{@inheritDoc}
public evictFromCacheById ( $aclId )

evictFromCacheByIdentity() public method

{@inheritDoc}
public evictFromCacheByIdentity ( Symfony\Component\Security\Acl\Model\ObjectIdentityInterface $oid )
$oid Symfony\Component\Security\Acl\Model\ObjectIdentityInterface

getFromCacheById() public method

{@inheritDoc}
public getFromCacheById ( $aclId )

getFromCacheByIdentity() public method

{@inheritDoc}
public getFromCacheByIdentity ( Symfony\Component\Security\Acl\Model\ObjectIdentityInterface $oid )
$oid Symfony\Component\Security\Acl\Model\ObjectIdentityInterface

putInCache() public method

{@inheritDoc}
public putInCache ( Symfony\Component\Security\Acl\Model\AclInterface $acl )
$acl Symfony\Component\Security\Acl\Model\AclInterface