Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class TemplateManager |
||
8 | { |
||
9 | /** |
||
10 | * @var TemplateInterface |
||
11 | */ |
||
12 | private $template; |
||
13 | |||
14 | 2 | public function __construct(TemplateInterface $template) |
|
17 | } |
||
18 | |||
19 | /** |
||
20 | * Getter for $template. |
||
21 | * |
||
22 | * @return TemplateInterface |
||
23 | */ |
||
24 | 42 | public function getTemplate(): TemplateInterface |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * Setter for $template. |
||
31 | * |
||
32 | * @param TemplateInterface $template |
||
33 | */ |
||
34 | 25 | public function setTemplate(TemplateInterface $template): void |
|
39 |