Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.5.2
-
Fix Version/s: 1.6.0
-
Component/s: Zend_Cache
-
Labels:None
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
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