started di part
This commit is contained in:
parent
070a8b0563
commit
1919bffec9
1 changed files with 7 additions and 1 deletions
|
@ -2,4 +2,10 @@
|
||||||
|
|
||||||
### Dependency Injector
|
### Dependency Injector
|
||||||
|
|
||||||
to be continued...
|
A dependency injector resolves the dependencies of your class and makes sure that the correct objects are injected when the class is instantiated.
|
||||||
|
|
||||||
|
My favorite injector is [Auryn](https://github.com/rdlowrey/Auryn), so install `rdlowrey/auryn` with composer or use one of the alternatives below:
|
||||||
|
|
||||||
|
[Pimple](http://pimple.sensiolabs.org/), [Orno DI](https://github.com/orno/di), [PHP-DI](https://github.com/mnapoli/PHP-DI)
|
||||||
|
|
||||||
|
to be continued...
|
||||||
|
|
Loading…
Reference in a new issue