It's been a while since my original post on this topic, and I've recently switched my method of creating multiple instances of objects while still using dependency injection. I started with overriding __clone, then moved on to using the AbstractPluginManager, and now I'm doing it with nested closures.
What I'm looking for at the moment is for maybe a couple of people to review these posts, particularly part 2, and provide feedback. I'd like to know if the method I'm suggesting is a good idea, if it makes sense, if it will cause problems under certain circumstances, etc. Part 1 http://zendblog.shinymayhem.com/2013/09/using-servicemanager-as-inversion-of.html Part 2 http://zendblog.shinymayhem.com/2013/09/using-servicemanager-as-inversion-of_11.html -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Using-the-ServiceManager-as-an-inversion-of-control-container-tp4660963.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
