Total Complexity | 5 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class TwigRenderer implements RendererInterface |
||
13 | { |
||
14 | /** @var Environment */ |
||
15 | private $environment; |
||
16 | |||
17 | 3 | public function __construct(Environment $environment) |
|
18 | { |
||
19 | 3 | $this->environment = $environment; |
|
20 | 3 | } |
|
21 | |||
22 | 2 | public function supports(TagInterface $tag): bool |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param TemplateTagInterface|TagInterface $tag |
||
29 | */ |
||
30 | 1 | public function render(TagInterface $tag): string |
|
33 | } |
||
34 | } |
||
35 |