Update 08-dependency-injector.md

Auryn\Provider was replaced with Auryn\Injector
This commit is contained in:
burki94 2015-04-06 13:12:37 +02:00
parent 86064842f4
commit b1add84072

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)