interface AclCacheInterface

AclCache Interface

Methods

evictFromCacheById(string $primaryKey)

Removes an ACL from the cache

evictFromCacheByIdentity(ObjectIdentityInterface $oid)

Removes an ACL from the cache

getFromCacheById(int $primaryKey)

Retrieves an ACL for the given object identity primary key from the cache

getFromCacheByIdentity(ObjectIdentityInterface $oid)

Retrieves an ACL for the given object identity from the cache

putInCache(AclInterface $acl)

Stores a new ACL in the cache

clearCache()

Removes all ACLs from the cache

Details

at line line 26
evictFromCacheById(string $primaryKey)

Removes an ACL from the cache

Parameters

string $primaryKey a serialized primary key

at line line 35
evictFromCacheByIdentity(ObjectIdentityInterface $oid)

Removes an ACL from the cache

The ACL which is returned, must reference the passed object identity.

Parameters

ObjectIdentityInterface $oid

at line line 43
AclInterface getFromCacheById(int $primaryKey)

Retrieves an ACL for the given object identity primary key from the cache

Parameters

int $primaryKey

Return Value

AclInterface

at line line 51
AclInterface getFromCacheByIdentity(ObjectIdentityInterface $oid)

Retrieves an ACL for the given object identity from the cache

Parameters

ObjectIdentityInterface $oid

Return Value

AclInterface

at line line 58
putInCache(AclInterface $acl)

Stores a new ACL in the cache

Parameters

AclInterface $acl

at line line 63
clearCache()

Removes all ACLs from the cache