#35 slightly more logical grouping
This commit is contained in:
parent
fe2db7ed04
commit
8272d5996e
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ Install the Auryn package and then create a new file called `Dependencies.php` i
|
|||
|
||||
$injector = new \Auryn\Injector;
|
||||
|
||||
$injector->alias('Http\Response', 'Http\HttpResponse');
|
||||
$injector->alias('Http\Request', 'Http\HttpRequest');
|
||||
$injector->share('Http\HttpRequest');
|
||||
$injector->define('Http\HttpRequest', [
|
||||
':get' => $_GET,
|
||||
|
@ -23,7 +23,7 @@ $injector->define('Http\HttpRequest', [
|
|||
':server' => $_SERVER,
|
||||
]);
|
||||
|
||||
$injector->alias('Http\Request', 'Http\HttpRequest');
|
||||
$injector->alias('Http\Response', 'Http\HttpResponse');
|
||||
$injector->share('Http\HttpResponse');
|
||||
|
||||
return $injector;
|
||||
|
|
Loading…
Reference in a new issue