ZF-4533: Zend_Cache_Backend_Memcached change visibilty to protected for the _memcache member variable

Issue Type: Improvement Created: 2008-10-09T03:07:53.000+0000 Last Updated: 2008-11-13T14:10:28.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Martin Roest ( Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:


The visibility of the member variable _memcache - which is the real/raw memcache object - is set to private. This disables the possibility to extend the class and use the memcache object. In my case I wanted to add functions like in- decrement functions but had to change the visibility in order to allow access to the object.

Interesting question is - maybe should be a new issue. Is it possible to add support for the in- decrement memcache calls.


Posted by Martin Roest ( on 2008-10-09T03:12:20.000+0000

Sorry, forgot to mention that the same is true for the Zend_Cache_Core _backend member variable. Changing both is required to extend the memcached backend

Posted by Fabien MARTY (fab) on 2008-10-27T12:09:33.000+0000

fixed in SVN trunk (both files)

Posted by Wil Sinclair (wil) on 2008-11-13T14:10:28.000+0000

Changing issues in preparation for the 1.7.0 release.

Have you found an issue?

See the Overview section for more details.


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

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