zendframework/zf2 — pull request #2005 by Ocramius (2012-07-26 18:22:27+00:00)
Title: Hardened Di logic for ControllerLoader

This PR attempts to restore functionality removed in zendframework/zf2#1985 (see all my rants there to understand why).

Please let me know if the provided tests are valid.

The newly introduced "strict" version of the abstract di-based service factory is just there to avoid getting any class instantiated through runtime definition (aka through the "reflection magic").
This PR does anyway not re-introduce the Di-based service initializer, since instances retrieved from Di are already fully initialized.