Update 08-dependency-injector.md
Auryn\Provider was replaced with Auryn\Injector
This commit is contained in:
parent
86064842f4
commit
b1add84072
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ Install the Auryn package and then create a new file called `Dependencies.php` i
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$injector = new \Auryn\Provider;
|
$injector = new \Auryn\Injector;
|
||||||
|
|
||||||
$injector->alias('Http\Response', 'Http\HttpResponse');
|
$injector->alias('Http\Response', 'Http\HttpResponse');
|
||||||
$injector->share('Http\HttpRequest');
|
$injector->share('Http\HttpRequest');
|
||||||
|
|
Loading…
Reference in a new issue