added code formatting
This commit is contained in:
parent
562ddf720f
commit
7687430549
6 changed files with 15 additions and 15 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
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:
|
||||
My favorite injector is [Auryn](https://github.com/rdlowrey/Auryn), so install `rdlowrey/auryn` with composer or use one of these alternatives:
|
||||
[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