DoctrineAclCache::evictFromCacheByIdentity()

evictFromCacheByIdentity(ObjectIdentityInterface $oid) Removes an ACL from the cache The ACL which is returned, must reference the passed object identity. Parameters ObjectIdentityInterface $oid

DoctrineAclCache::evictFromCacheById()

evictFromCacheById($aclId) Removes an ACL from the cache Parameters $aclId

DoctrineAclCache::clearCache()

clearCache() Removes all ACLs from the cache

DoctrineAclCache

class DoctrineAclCache implements AclCacheInterface This class is a wrapper around the actual cache implementation. Constants PREFIX Methods __construct(Cache $cache, PermissionGrantingStrategyInterface $permissionGrantingStrategy, string $prefix = self::PREFIX) Constructor clearCache() Removes all ACLs from the cache evictFromCacheById($aclId) Removes an ACL from the cache evictFromCacheByIdentity(ObjectIdentityInterface $oid) Removes an ACL from the cache AclInt

DnsMock::withMockedHosts()

static withMockedHosts(array $hosts) Configures the mock values for DNS queries. Parameters array $hosts Mocked hosts as keys, arrays of DNS records as returned by dnsgetrecord() as values

DnsMock::register()

static register($class) Parameters $class

DnsMock::getmxrr()

static getmxrr($hostname, $mxhosts, $weight = null) Parameters $hostname $mxhosts $weight

DnsMock::gethostbynamel()

static gethostbynamel($hostname) Parameters $hostname

DnsMock::gethostbyname()

static gethostbyname($hostname) Parameters $hostname

DnsMock::gethostbyaddr()

static gethostbyaddr($ipAddress) Parameters $ipAddress