zendframework/zf2 — pull request #2129 by Ocramius (2012-08-08 01:59:36+00:00)
Title: [WIP] Feature/overrideable di factories

This PR introduces new factories (and for the joy of the java fans we now have a `FactoryFactory`!).

Anyway, I found myself very often overriding complete factories, controller plugin managers, view helper managers, controller loaders (by completely duplicating code) because I couldn't override how Di and its factories work.

First note: I didn't yet try it out with my logic, so I'll remove the [WIP] from the subject as soon as I've verified that I can completely disable/enable Di in every Mvc part.

Second note: This PR introduces a minor PR I'm commenting on the code right now.