Dependency Injection
Dependency injection has become a relatively common concept to ask during
technical interviews. While it is the generally accepted best practice in modern
PHP development, it seems terribly little understood beyond the provisions
exposed by 3rd party libraries and frameworks.
Perhaps the most common explanation of DI (dependency injection) is