In my previous post I argued against setter injection. Optional dependencies are one of the main objections raised in the comments and elsewhere. I did mention these with a suggestion of just making them optional…

A while ago I had a twitter discussion with Igor Wiedler and Matthias Noback about setter injected dependencies being mutable. When using objects as services in an application then we do not want them to…

  • dependency injection , php , symfony2

In my previous post on separating bundles from libraries in Symfony2 applications I said I would follow this up with more details. I have yet to write that post, in the meantime some links to…

  • ddd , php , symfony2