Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

[2.1] Feature/overrideable di factories #2129

Merged

Conversation

Ocramius
Copy link
Member

@Ocramius Ocramius commented Aug 8, 2012

This PR introduces new factories (and for the joy of the java fans we now have a FactoryFactory!) to handle instantiation of Di related services in a better controllable way.

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.

@travisbot
Copy link

This pull request passes (merged e03f4f2 into 2a926c8).

@weierophinney weierophinney merged commit 2567c32 into zendframework:master Sep 14, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants