ZF2-375: Make ServiceManager available to Routes
Description
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.
Comments
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: https://github.com/zendframework/zf2/issues/2495