mediatekformation

DefaultCollectionHydrator
in package
implements CollectionHydrator

Default hydrator cache for collections

Interfaces, Classes, Traits and Enums

CollectionHydrator
Hydrator cache entry for collections

Table of Contents

$em  : EntityManagerInterface
$hints  : array<string, mixed>
$uow  : UnitOfWork
__construct()  : mixed
buildCacheEntry()  : CollectionCacheEntry
loadCacheEntry()  : array<string|int, mixed>

Properties

Methods

loadCacheEntry()

public loadCacheEntry(ClassMetadata $metadata, CollectionCacheKey $key, CollectionCacheEntry $entry, PersistentCollection $collection) : array<string|int, mixed>
Parameters
$metadata : ClassMetadata

The owning entity metadata.

$key : CollectionCacheKey

The cached collection key.

$entry : CollectionCacheEntry

The cached collection entry.

$collection : PersistentCollection

The collection to load the cache into.

Return values
array<string|int, mixed>

Search results