added missing sentence

This commit is contained in:
Patrick 2014-10-09 19:18:45 +02:00 committed by lubiana
parent e393b38a28
commit 7bd8c08cc3

View file

@ -6,7 +6,7 @@ A dependency injector resolves the dependencies of your class and makes sure tha
There is only one injector that I can recommend: [Auryn](https://github.com/rdlowrey/Auryn). Sadly all the alternatives that I am aware of are using the [service locator antipattern](http://blog.ploeh.dk/2010/02/03/ServiceLocatorisanAnti-Pattern/). There is only one injector that I can recommend: [Auryn](https://github.com/rdlowrey/Auryn). Sadly all the alternatives that I am aware of are using the [service locator antipattern](http://blog.ploeh.dk/2010/02/03/ServiceLocatorisanAnti-Pattern/).
Create a new file called `Dependencies.php` in your `src/` folder. In there add the following content: Install the Auryn package and then create a new file called `Dependencies.php` in your `src/` folder. In there add the following content:
```php ```php
<?php <?php