From 1919bffec9ec02bbcbe05d8ead3e5fcf50bc60c5 Mon Sep 17 00:00:00 2001 From: Patrick Date: Wed, 17 Sep 2014 21:22:11 +0200 Subject: [PATCH] started di part --- 8-dependency-injector.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/8-dependency-injector.md b/8-dependency-injector.md index 75f253a..f942025 100644 --- a/8-dependency-injector.md +++ b/8-dependency-injector.md @@ -2,4 +2,10 @@ ### Dependency Injector -to be continued... \ No newline at end of file +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...