Skip to content

Commit

Permalink
Added APCU CacheProvider of doctrine/cache 1.6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
fncmedia committed Jun 6, 2016
1 parent 98303d3 commit a104c39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -372,6 +372,7 @@ protected function loadCacheDriver($cacheName, $objectManagerName, array $cacheD
$cacheDef->addMethodCall('setRedis', array(new Reference($this->getObjectManagerElementName(sprintf('%s_redis_instance', $objectManagerName)))));
break;
case 'apc':
case 'apcu':
case 'array':
case 'xcache':
case 'wincache':
Expand Down
Expand Up @@ -174,6 +174,7 @@ public function providerBasicDrivers()
{
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')),
Expand Down

0 comments on commit a104c39

Please sign in to comment.