Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | final class Template |
||
8 | { |
||
9 | /** |
||
10 | * @param string $template The template file. |
||
11 | * @param array $parameters The parameters to be passed to the view file. |
||
12 | * @param ViewInterface $view The view instance used for rendering the file. |
||
13 | * @param ViewContextInterface|null $viewContext The context instance of the view. |
||
14 | */ |
||
15 | 61 | public function __construct( |
|
21 | 61 | } |
|
22 | |||
23 | 61 | public function getTemplate(): string |
|
24 | { |
||
25 | 61 | return $this->template; |
|
26 | } |
||
27 | |||
28 | 61 | public function getParameters(): array |
|
29 | { |
||
30 | 61 | return $this->parameters; |
|
31 | } |
||
32 | |||
33 | 61 | public function getView(): ViewInterface |
|
36 | } |
||
37 | |||
38 | 1 | public function getViewContext(): ?ViewContextInterface |
|
41 | } |
||
42 | } |
||
43 |