class AclCache implements AclCacheInterface (View source)

This class is a wrapper around the actual cache implementation.

Methods

__construct(CacheProvider $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy)

Constructor

evictFromCacheById($primaryKey)

{@inheritdoc}

evictFromCacheByIdentity(ObjectIdentityInterface $oid)

{@inheritdoc}

getFromCacheById($primaryKey)

{@inheritdoc}

getFromCacheByIdentity(ObjectIdentityInterface $oid)

{@inheritdoc}

putInCache(AclInterface $acl)

{@inheritdoc}

clearCache()

{@inheritdoc}

Details

__construct(CacheProvider $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy)

Constructor

Parameters

CacheProvider $cache
PermissionGrantingStrategyInterface $permissionGrantingStrategy

evictFromCacheById($primaryKey)

{@inheritdoc}

Parameters

$primaryKey

evictFromCacheByIdentity(ObjectIdentityInterface $oid)

{@inheritdoc}

Parameters

ObjectIdentityInterface $oid

getFromCacheById($primaryKey)

{@inheritdoc}

Parameters

$primaryKey

getFromCacheByIdentity(ObjectIdentityInterface $oid)

{@inheritdoc}

Parameters

ObjectIdentityInterface $oid

putInCache(AclInterface $acl)

{@inheritdoc}

Parameters

AclInterface $acl

clearCache()

{@inheritdoc}