class AclCollectionCache
This service caches ACLs for an entire collection of objects.
Methods
__construct(AclProviderInterface $aclProvider, ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy) Constructor. | ||
cache(mixed $collection, array $tokens = array()) Batch loads ACLs for an entire collection; thus, it reduces the number of required queries considerably. |
Details
__construct(AclProviderInterface $aclProvider, ObjectIdentityRetrievalStrategyInterface $oidRetrievalStrategy, SecurityIdentityRetrievalStrategyInterface $sidRetrievalStrategy)
Constructor.
cache(mixed $collection, array $tokens = array())
Batch loads ACLs for an entire collection; thus, it reduces the number of required queries considerably.
Please login to continue.