Issues

ZF2-543: Zend\Cache missing adapter for xcache

Issue Type: Improvement Created: 2012-09-11T07:42:39.000+0000 Last Updated: 2012-09-13T20:03:33.000+0000 Status: Closed Fix version(s): - Next Mini Release (04/Oct/12)

Reporter: yvsppt (yvsppt) Assignee: Marc Bennewitz (private) (mabe) Tags: - Zend\Cache

Related issues: - ZF2-554

Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts