Issue Type: Improvement Created: 2012-09-21T08:36:10.000+0000 Last Updated: 2012-10-08T20:11:05.000+0000 Status: Closed Fix version(s): Reporter: BLANCHON Vincent (blanchon_vincent) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc
Related issues: Attachments:
In Zend/Mvc/Service/ServiceListenerFactory.php :
3 factories :
'factories' => array( 'ConsoleRouter' => 'Zend\Mvc\Service\RouterFactory', 'HttpRouter' => 'Zend\Mvc\Service\RouterFactory', 'Router' => 'Zend\Mvc\Service\RouterFactory', ),
I think :
we must mark "ConsoleRouter" and "HttpRouter" like alias or we must mark "ConsoleRouter" like invokable with "Zend\Mvc\Router\Http\TreeRouteStack" and "HttpRouter" with "Zend\Mvc\Router\Console\SimpleRouteStack" because with this version (2.0.0), if i get "ConsoleRouter" with ServiceManager, i am not sure i will have a instance of the console router, because "Zend\Mvc\Service\RouterFactory" choose automatically !
What is your feedback ?
Posted by Ralph Schindler (ralph) on 2012-10-08T20:11:05.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/2603
Have you found an issue?
See the Overview section for more details.