refactored to match earlier changes in different part
This commit is contained in:
parent
ece781990d
commit
7e07790e76
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ $class->$method($vars);
|
|||
|
||||
Now all your controller constructor dependencies will be automatically resolved with Auryn.
|
||||
|
||||
Go back to your `HelloWorldController.php` and change it to the following:
|
||||
Go back to your `HelloWorldPresenter.php` and change it to the following:
|
||||
|
||||
```php
|
||||
<?php
|
||||
|
@ -77,7 +77,7 @@ namespace Example\HelloWorld;
|
|||
use Http\Request;
|
||||
use Http\Response;
|
||||
|
||||
class HelloWorldController
|
||||
class HelloWorldPresenter
|
||||
{
|
||||
private $request;
|
||||
private $response;
|
||||
|
|
Loading…
Reference in a new issue