Dependency injection

Definition

Dependency injection is a software design pattern that allows the removal of hard-coded dependencies and makes it possible to change them, whether at run-time or compile-time. • phptherightway.com

Usage

Examples

References

Related articles