1 | <?php |
||
8 | class LatteView implements RenderInterface |
||
9 | { |
||
10 | /** @var \Latte\Engine */ |
||
11 | protected $latte; |
||
12 | |||
13 | /** @var string */ |
||
14 | protected $basePath; |
||
15 | |||
16 | /** @var array */ |
||
17 | protected $values = []; |
||
18 | |||
19 | /** |
||
20 | * @param \Latte\Engine $latte |
||
21 | * @param string $basePath |
||
22 | */ |
||
23 | public function __construct(Engine $latte, $basePath = '') |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function with(array $values = []) |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function render($template, array $values = [], $basePath = null) |
||
52 | } |
||
53 |