Programming - Concept
Dependency injection
(DI)
A programming approach where a component is supplied with the other components it needs
What's it for?
To make software components easier to replace, test and reuse by supplying their dependencies externally.