| 1 | <?php |
||
| 8 | class Presenter implements PresenterInterface |
||
| 9 | { |
||
| 10 | /** @var \Wandu\DI\ContainerInterface */ |
||
| 11 | protected $container; |
||
| 12 | |||
| 13 | /** @var \Psr\Http\Message\ServerRequestInterface */ |
||
| 14 | protected $request; |
||
| 15 | |||
| 16 | /** @var \Wandu\Http\Contracts\SessionInterface */ |
||
| 17 | protected $session; |
||
| 18 | |||
| 19 | /** @var string */ |
||
| 20 | protected $path = ''; |
||
| 21 | |||
| 22 | public function __construct(ContainerInterface $container, ServerRequestInterface $request) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public function render($template, array $values = []) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return array |
||
| 42 | */ |
||
| 43 | protected function getInitializeAttributes() |
||
| 51 | } |
||
| 52 |