ZF2-375: Make ServiceManager available to Routes

Issue Type: Improvement Created: 2012-06-22T20:56:54.000+0000 Last Updated: 2012-10-08T20:15:11.000+0000 Status: Closed Fix version(s): Reporter: David Windell (outeredge) Assignee: Ben Scholzen (dasprid) Tags: - Zend\Mvc\Router

  • routing

Related issues: Attachments:


It would be useful to be able to inject the ServiceManager into a Route - thus allowing, say, a URL to be checked against a users account via an Account Service.

Failing this, functionality to pull a Route out of the RouteStack, i.e. $sm->get('Router')->getRoute('routename');

Functionality only exists to add a route at present.


Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:11.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

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.