Tag: dependency-injection
-
Dependency Injection Container – simple implementation
If you’ve ever used any modern framework you’ve most likely used a Dependency Injection Container, also known as a DI container. Sometimes it can feel like magic, you ask it for a class and it will give said class regardless of how many other classes it depends on. In this article I’ll implement a simple…