Simple dependency injection class load a new class with dependencies by calling DependencyInjection::instantiate(<object::class>)
Instantiate interface or (abstract) class based on namespace\class::class string. Including all it's dependencies in __construct.
License
devorto/dependency-injection
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Instantiate interface or (abstract) class based on namespace\class::class string. Including all it's dependencies in __construct.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published