Explain Dependency Injection Container like I'm five
Sumit Wadhwa Apr 11
I'm having a hard time wrapping my head around a DI package for PHP (PHP-DI). And why exactly would I want to use it?
Also, how it is different from simply instantiating a class wherever you want?
You can explain the title in regards or regardless to any particular language.