refactored to match earlier changes in different part

This commit is contained in:
Patrick 2014-09-27 16:58:34 +02:00
parent ece781990d
commit 7e07790e76

View file

@ -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;