added code formatting
This commit is contained in:
parent
1328bce2c5
commit
562ddf720f
3 changed files with 5 additions and 6 deletions
|
@ -5,7 +5,6 @@
|
|||
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)
|
||||
|
||||
Create a new file called `Dependencies.php` in your `src/` folder. In there add the following content:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue