bug #18974 Added missing APCU CacheProvider of doctrine/cache 1.6.x (Carsten Eilers)
This PR was merged into the 3.1 branch.
Discussion
----------
Added missing APCU CacheProvider of doctrine/cache 1.6.x
| Q | A
| ------------- | ---
| Branch? | 3.1
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | yes
| License | MIT
| Doc PR | reference to the documentation PR, if any
Commits
-------
a104c39
Added APCU CacheProvider of doctrine/cache 1.6.x
This commit is contained in:
commit
20417d2658
@ -372,6 +372,7 @@ abstract class AbstractDoctrineExtension extends Extension
|
|||||||
$cacheDef->addMethodCall('setRedis', array(new Reference($this->getObjectManagerElementName(sprintf('%s_redis_instance', $objectManagerName)))));
|
$cacheDef->addMethodCall('setRedis', array(new Reference($this->getObjectManagerElementName(sprintf('%s_redis_instance', $objectManagerName)))));
|
||||||
break;
|
break;
|
||||||
case 'apc':
|
case 'apc':
|
||||||
|
case 'apcu':
|
||||||
case 'array':
|
case 'array':
|
||||||
case 'xcache':
|
case 'xcache':
|
||||||
case 'wincache':
|
case 'wincache':
|
||||||
|
@ -174,6 +174,7 @@ class DoctrineExtensionTest extends \PHPUnit_Framework_TestCase
|
|||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array('doctrine.orm.cache.apc.class', array('type' => 'apc')),
|
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.array.class', array('type' => 'array')),
|
||||||
array('doctrine.orm.cache.xcache.class', array('type' => 'xcache')),
|
array('doctrine.orm.cache.xcache.class', array('type' => 'xcache')),
|
||||||
array('doctrine.orm.cache.wincache.class', array('type' => 'wincache')),
|
array('doctrine.orm.cache.wincache.class', array('type' => 'wincache')),
|
||||||
|
Reference in New Issue
Block a user