Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 50% |
Changes | 0 |
1 | <?php |
||
12 | class TwigFacade extends AbstractFacade |
||
13 | { |
||
14 | /** |
||
15 | * @param string $template |
||
16 | * @param array $params |
||
17 | * |
||
18 | * @return string |
||
19 | * @throws \Twig_Error_Loader |
||
20 | * @throws \Twig_Error_Runtime |
||
21 | * @throws \Twig_Error_Syntax |
||
22 | */ |
||
23 | 2 | public function render(string $template, array $params = []): string |
|
26 | } |
||
27 | |||
28 | /** |
||
29 | * @param string $path |
||
30 | */ |
||
31 | public function addTemplatePath(string $path): void |
||
34 | } |
||
35 | } |