aliases |
---|
Dependency Injection |
DI is just one form of [[IoC|Inversion of Control]], and quite possibly one of the most ubiquitous ones used in object-oriented design
Dependency Injection can be done through
- constructors
- setters
- fields
- Interface Injection