zendframework/zf2 — pull request #2055 by Ocramius (2012-07-31 08:59:03+00:00)
Title: Allowing dependencies to be fetched through service manager

In zendframework/zf2#2005, I re-introduced fetching controllers from Di. This anyway is flawed since the Di instance comes from the main ServiceManager instance, and the dependencies of that Di instance too.

This PR simply achieves what we currently do within the ControllerLoader factories by doing `$sm->getServiceLocator()->get('something')` within the abstract Di factory.