1
0
mirror of synced 2025-01-10 02:57:10 +03:00
doctrine2/tests/Doctrine/Tests/ORM/Cache/Persister/ReadOnlyCachedCollectionPersisterTest.php

22 lines
610 B
PHP
Raw Normal View History

2013-02-14 02:42:13 +04:00
<?php
namespace Doctrine\Tests\ORM\Cache\Persister;
use Doctrine\ORM\Cache\Region;
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Persisters\CollectionPersister;
use Doctrine\ORM\Cache\Persister\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);
}
}