| 1 | <?php |
||
| 13 | final class IndexController |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var RequestManagerInterface |
||
| 17 | */ |
||
| 18 | private $requestManager; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var ResponseManagerInterface |
||
| 22 | */ |
||
| 23 | private $responseManager; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param RequestManagerInterface $requestManager |
||
| 27 | * @param ResponseManagerInterface $responseManager |
||
| 28 | */ |
||
| 29 | public function __construct(RequestManagerInterface $requestManager, ResponseManagerInterface $responseManager) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Request $request |
||
| 37 | * |
||
| 38 | * @return Response |
||
| 39 | */ |
||
| 40 | public function __invoke(Request $request) |
||
| 48 | } |
||
| 49 |