Documentation

CacheFactory

Contract for building second level cache regions components.

Tags
psalm-import-type

AssociationMapping from ClassMetadata

Table of Contents

Methods

buildCachedCollectionPersister()  : CachedCollectionPersister
Build a collection persister for the given relation mapping.
buildCachedEntityPersister()  : CachedEntityPersister
Build an entity persister for the given entity metadata.
buildCollectionHydrator()  : CollectionHydrator
Build a collection hydrator
buildEntityHydrator()  : EntityHydrator
Build an entity hydrator
buildQueryCache()  : QueryCache
Build a query cache based on the given region name
createCache()  : Cache
Build \Doctrine\ORM\Cache
getRegion()  : Region
Build a cache region
getTimestampRegion()  : TimestampRegion
Build timestamp cache region

Methods

getRegion()

Build a cache region

public getRegion(array<string, mixed> $cache) : Region
Parameters
$cache : array<string, mixed>

The cache configuration.

Return values
Region

The cache region.


        
On this page

Search results