One issue many people have with Dependency Injection is the way you can no longer jump to an implementation of a dependency in an IDE and see what it actually does or make changes to…

  • dependency injection , development tools , php , symfony2

In this post I am going to look at the basics of Dependency Injection again and how they tie in with the move to using a Dependency Injection Container. The basics of why injecting an…

  • dependency injection , php , symfony2

When you start learning Symfony2 using the book, you are introduced to the base controller. The base controller has some helpful methods to make common tasks easier. After a while though you may want to…

  • dependency injection , php , symfony2

There has been some criticism recently of the use of Dependency Injection Containers (DICs) with a lot of people saying that DI != DICs. For example see http://till.klampaeckel.de/blog/archives/154-Dependency-Injection-Containers.html and…

  • dependency injection , php , symfony2

In this post I will look at how to write a more sophisticated Dependency Injection Extension for your Symfony2 bundles. Bundle Level Config In my earlier post Symfony2: Controller as Service I looked at creating…

  • dependency injection , php , symfony2