DoctrineCaster

class DoctrineCaster Casts Doctrine related classes to array representation. Methods static castCommonProxy(Proxy $proxy, array $a, Stub $stub, $isNested) static castOrmProxy(Proxy $proxy, array $a, Stub $stub, $isNested) static castPersistentCollection(PersistentCollection $coll, array $a, Stub $stub, $isNested) Details static castCommonProxy(Proxy $proxy, array $a, Stub $stub, $isNested) Parameters Proxy $proxy array $a Stub $s

DoctrineCache::write()

write(ClassMetadata $metadata) Stores a class metadata in the cache Parameters ClassMetadata $metadata A Class Metadata

DoctrineCache::setCache()

setCache(Cache $cache) Sets the cache to adapt. Parameters Cache $cache The cache to adapt

DoctrineCache::read()

ClassMetadata|false read(string $class) Returns the metadata for the given class from the cache Parameters string $class Class Name Return Value ClassMetadata|false A ClassMetadata instance or false on miss

DoctrineCache::has()

has(string $class) Returns whether metadata for the given class exists in the cache Parameters string $class

DoctrineCache

class DoctrineCache implements CacheInterface Adapts a Doctrine cache to a CacheInterface. Methods __construct(Cache $cache) Creates a new Doctrine cache. setCache(Cache $cache) Sets the cache to adapt. has(string $class) Returns whether metadata for the given class exists in the cache ClassMetadata|false read(string $class) Returns the metadata for the given class from the cache write(ClassMetadata $metadata) Stores a class metadata in the cache Details

DoctrineAdapter

class DoctrineAdapter extends AbstractAdapter Traits LoggerAwareTrait Methods static createSystemCache($namespace, $defaultLifetime, $version, $directory, LoggerInterface $logger = null) from AbstractAdapter getItem($key) {@inheritdoc} from AbstractAdapter getItems(array $keys = array()) {@inheritdoc} from AbstractAdapter hasItem($key) {@inheritdoc} from AbstractAdapter clear() {@inheritdoc} from AbstractAdapter deleteItem($key) {@inheritdoc} from AbstractAdapte

DoctrineAclCache::putInCache()

putInCache(AclInterface $acl) Stores a new ACL in the cache Parameters AclInterface $acl

DoctrineAclCache::getFromCacheByIdentity()

AclInterface getFromCacheByIdentity(ObjectIdentityInterface $oid) Retrieves an ACL for the given object identity from the cache Parameters ObjectIdentityInterface $oid Return Value AclInterface

DoctrineAclCache::getFromCacheById()

AclInterface getFromCacheById($aclId) Retrieves an ACL for the given object identity primary key from the cache Parameters $aclId Return Value AclInterface