ZF2-543: Zend\Cache missing adapter for xcache
Description
I read from Zend\Cache\Storage\AdapterPluginManager.php, "'xcache' => 'Zend\Cache\Storage\Adapter\XCache',". But I don't find any class named Zend\Cache\Storage\Adapter\XCache.
And when I try factory with :
$cache = Zend\Cache\StorageFactory::factory(array( 'adapter' => 'xcache', 'plugins' => array( 'exception_handler' => array('throw_exceptions' => false), ), ));
The result (predictable, but if nobody says, no reason to fix) is :
Fatal error: Class 'Zend\Cache\Storage\Adapter\XCache' not found in D:\Personnel\phpSofts\ZendFramework-2.0.0\library\Zend\ServiceManager\AbstractPluginManager.php
Comments
Posted by Marc Bennewitz (private) (mabe) on 2012-09-11T14:49:27.000+0000
The xcache adapter wasn't finished yet. It will be implemented in 2.1 and the link within AbstractPluginManager needs to be removed until it's available.
I'll fix it immediately.
Posted by Marc Bennewitz (private) (mabe) on 2012-09-11T14:54:54.000+0000
https://github.com/zendframework/zf2/pull/2338
Posted by Marc Bennewitz (private) (mabe) on 2012-09-13T20:03:33.000+0000
Removed linked but not implemented storage adapters from AdapterPluginManager
Created a new one to implement the missing adapters: ZF2-552