Added APCU CacheProvider of doctrine/cache 1.6.x

This commit is contained in:
Carsten Eilers 2016-06-06 09:36:22 +02:00
parent 98303d34a1
commit a104c399dc
2 changed files with 2 additions and 0 deletions

View File

@ -372,6 +372,7 @@ abstract class AbstractDoctrineExtension extends Extension
$cacheDef->addMethodCall('setRedis', array(new Reference($this->getObjectManagerElementName(sprintf('%s_redis_instance', $objectManagerName)))));
break;
case 'apc':
case 'apcu':
case 'array':
case 'xcache':
case 'wincache':

View File

@ -174,6 +174,7 @@ class DoctrineExtensionTest extends \PHPUnit_Framework_TestCase
{
return array(
array('doctrine.orm.cache.apc.class', array('type' => 'apc')),
array('doctrine.orm.cache.apcu.class', array('type' => 'apcu')),
array('doctrine.orm.cache.array.class', array('type' => 'array')),
array('doctrine.orm.cache.xcache.class', array('type' => 'xcache')),
array('doctrine.orm.cache.wincache.class', array('type' => 'wincache')),