Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
37 | public function create(): Application\UI\ITemplate |
||
38 | { |
||
39 | /** @var ApplicationLatte\Template $template */ |
||
40 | $template = $this->templateFactory->createTemplate(); |
||
41 | $template->getLatte()->addProvider('uiControl', $this->linkGenerator); |
||
42 | foreach ($this->variables as $name => $value) { |
||
43 | $template->{$name} = $value; |
||
44 | } |
||
45 | return $template; |
||
46 | } |
||
49 |