Merge pull request #25 from marcel-burkhard/patch-1

Update 08-dependency-injector.md
This commit is contained in:
Patrick Louys 2015-07-18 17:59:59 +02:00
commit b0bf75da2b

View file

@ -11,7 +11,7 @@ Install the Auryn package and then create a new file called `Dependencies.php` i
```php
<?php
$injector = new \Auryn\Provider;
$injector = new \Auryn\Injector;
$injector->alias('Http\Response', 'Http\HttpResponse');
$injector->share('Http\HttpRequest');
@ -94,4 +94,4 @@ As you can see now the class has two dependencies. Try to access the page with a
Congratulations, you have now successfully laid the groundwork for your application.
[<< previous](07-inversion-of-control.md) | [next >>](09-templating.md)
[<< previous](07-inversion-of-control.md) | [next >>](09-templating.md)