1
0
mirror of synced 2025-01-10 19:17:10 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Cache/Persister/Collection/ReadOnlyCachedCollectionPersisterTest.php
2015-01-16 00:10:25 +01:00

23 lines
644 B
PHP

<?php
namespace Doctrine\Tests\ORM\Cache\Persister\Collection;
use Doctrine\ORM\Cache\Region;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Persisters\Collection\CollectionPersister;
use Doctrine\ORM\Cache\Persister\Collection\ReadOnlyCachedCollectionPersister;
/**
* @group DDC-2183
*/
class ReadOnlyCachedCollectionPersisterTest extends AbstractCollectionPersisterTest
{
/**
* {@inheritdoc}
*/
protected function createPersister(EntityManager $em, CollectionPersister $persister, Region $region, array $mapping)
{
return new ReadOnlyCachedCollectionPersister($persister, $region, $em, $mapping);
}
}