ZF2-375: Make ServiceManager available to Routes


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.


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