| Total Complexity | 4 |
| Total Lines | 38 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 8 | class TemplateFactory implements ITemplateFactory |
||
| 9 | { |
||
| 10 | |||
| 11 | /** @var Application\UI\ITemplateFactory */ |
||
| 12 | private $templateFactory; |
||
| 13 | |||
| 14 | /** @var Application\LinkGenerator */ |
||
| 15 | private $linkGenerator; |
||
| 16 | |||
| 17 | /** @var mixed[] */ |
||
| 18 | private $variables = []; |
||
| 19 | |||
| 20 | |||
| 21 | public function __construct( |
||
| 28 | } |
||
| 29 | |||
| 30 | |||
| 31 | public function setVariables(array $variables): void |
||
| 32 | { |
||
| 33 | $this->variables = $variables; |
||
| 34 | } |
||
| 35 | |||
| 36 | |||
| 37 | public function create(): Application\UI\ITemplate |
||
| 46 | } |
||
| 47 | |||
| 49 |