AclCollectionCache
AclCollectionCache
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.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Security/Acl/Domain/AclCollectionCache.html