PHP Dependency Injection

In application development, we try to create independent modules so that we can reuse code in future projects.