ZF-3718: Zend_Cache::factory IDE Integration
Description
i try this in Eclipse(3.3) PDT , but i think that this is in Zend Studio too
// getting a Zend_Cache_Core object $cache = Zend_Cache::factory('Core', 'File', $frontendOptions, $backendOptions);
but now i cant get no intelligence for $cache, due Zend_Cache::factory says in comments * @return Zend_Cache_Frontend
but class named Zend_Cache_Frontend hasn't exist so IDE don't know that too.
maybe is better to use something like this, due all frontend, backend classes extends or interface those:
- @return Zend_Cache_Core|Zend_Cache_Backend|Zend_Cache_Backend_Interface
and then IDE gives you all those classes methods with comments where they belong - this is better than nothing
Comments
Posted by Fabien MARTY (fab) on 2008-07-28T12:33:32.000+0000
fixed in SVN trunk (I used "@return Zend_Cache_Core|Zend_Cache_Frontend" only because the factory method doesn't return any backends, only frontends)
thanks
Posted by Wil Sinclair (wil) on 2008-09-02T10:38:53.000+0000
Updating for the 1.6.0 release.