Issues

ZF-3718: Zend_Cache::factory IDE Integration

Issue Type: Improvement Created: 2008-07-22T14:05:51.000+0000 Last Updated: 2008-09-02T10:38:53.000+0000 Status: Resolved Fix version(s): - 1.6.0 (02/Sep/08)

Reporter: Siim Tiilen (eritikass) Assignee: Fabien MARTY (fab) Tags: - Zend_Cache

Related issues: Attachments:

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.

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