ZF2-150: Add support for controller plugin direct() method calls

Issue Type: Improvement Created: 2012-01-25T06:35:18.000+0000 Last Updated: 2012-03-06T14:47:05.000+0000 Status: Resolved Fix version(s): Reporter: Yonni Mendes (yonman) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc\Controller

  • Mvc
  • Plugin
  • helper

Related issues: Attachments:


Make plug-in's behaviour similar to that of helpers where a "direct()" method is available. Causes the call for that plug-in shorter in the code and provides a default usage case.

If no direct method is available, revert to current behaviour and return the plug-in object.


Posted by Matthew Weier O'Phinney (matthew) on 2012-03-06T14:46:50.000+0000

This was added for beta3.

Have you found an issue?

See the Overview section for more details.


© 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.