开发者_运维知识库Do we achieve Dependency Inversion Principle using Dependency Injection technique?
Since PHP is a loosely typed language,开发者_如何学JAVA how can the DIP principle be applied in PHP?
From Wikipedia: The principle states: A. High-level modules should not depend on low-level modules. Both should depend on abstractions.
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing