-- Andreas Möller <[email protected]> wrote
(on Tuesday, 13 November 2012, 03:20 PM +0100):
> Not so sure about this, but couldn't developers benefit from usage of
> @method tags, for example in
> Zend\Mvc\Controller\AbstractActionController. Here, for non-existent
> methods, __call() attempts to pull a controller plugin from the plugin
> manager and tries to invoke it with the parameters passed.
> 
> I wouldn't mind auto-completion for the standard - that is, delivered
> with ZF2 - plugins.

The only problem is that the methods available will vary based on what
plugins/helpers are registered in the system. Since this can be dynamic,
I wonder if incomplete @method annotations would be worse than none at
all...

-- 
Matthew Weier O'Phinney
Project Lead            | [email protected]
Zend Framework          | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc

--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to