#954 DDC-2982 - Minor CS fixes/IDE hints
This commit is contained in:
parent
8ddcc4b270
commit
95c6cca336
@ -181,8 +181,13 @@ class DefaultCacheFactory implements CacheFactory
|
|||||||
*/
|
*/
|
||||||
public function buildCollectionHydrator(EntityManagerInterface $em, array $mapping)
|
public function buildCollectionHydrator(EntityManagerInterface $em, array $mapping)
|
||||||
{
|
{
|
||||||
|
/* @var $targetPersister \Doctrine\ORM\Cache\Persister\CachedPersister */
|
||||||
$targetPersister = $em->getUnitOfWork()->getEntityPersister($mapping['targetEntity']);
|
$targetPersister = $em->getUnitOfWork()->getEntityPersister($mapping['targetEntity']);
|
||||||
return new DefaultCollectionHydrator($em, $targetPersister->getCacheRegion());
|
|
||||||
|
return new DefaultCollectionHydrator(
|
||||||
|
$em,
|
||||||
|
$targetPersister->getCacheRegion()
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user