ZF2-446: ControllerFactories could use their own Factory Interface

Issue Type: Improvement Created: 2012-08-04T01:58:51.000+0000 Last Updated: 2012-10-08T20:15:03.000+0000 Status: Closed Fix version(s): Reporter: Nicholas Calugar (njcalugar) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend\Mvc

  • Zend\ServiceManager

Related issues: Attachments:


Now that controller factories get a ControllerManager instead of a ServiceManager, we need to ask the ControllerManager for a it's ServiceLocator in order to get at the main ServiceManager. Problem is, a factory implementing FactoryInterface says that createService will receive a ServiceLocatorInterface which only guarantees get / has. For controller factories, createService should receive something that guarantees we can do getServiceLocator.

I'm not sure where this interface should go as the getServiceLocator method is implemented in AbstractPluginManager.


Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:03.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-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.