Dependency injection is the idea of giving a class its requirements from the outside, instead of having that class being responsible for them itself.

Post a response on your own site? Send me a webmention!


Content: CC BY-SA 4.0