| Total Complexity | 2 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | class TwigFacade extends AbstractFacade  | 
            ||
| 15 | { | 
            ||
| 16 | /**  | 
            ||
| 17 | * @param string $template  | 
            ||
| 18 | * @param array $params  | 
            ||
| 19 | *  | 
            ||
| 20 | * @return string  | 
            ||
| 21 | * @throws \Twig_Error_Loader  | 
            ||
| 22 | * @throws \Twig_Error_Runtime  | 
            ||
| 23 | * @throws \Twig_Error_Syntax  | 
            ||
| 24 | */  | 
            ||
| 25 | 2 | public function render(string $template, array $params = []): string  | 
            |
| 26 |     { | 
            ||
| 27 | 2 | return $this->getFactory()->getTwigEnvironment()->render($template, $params);  | 
            |
| 28 | }  | 
            ||
| 29 | |||
| 30 | /**  | 
            ||
| 31 | * @param string $path  | 
            ||
| 32 | */  | 
            ||
| 33 | 2 | public function addTemplatePath(string $path): void  | 
            |
| 36 | }  | 
            ||
| 37 | }  |