1 | <?php |
||
19 | final class MatomoTwigExtension extends AbstractExtension |
||
20 | { |
||
21 | /** |
||
22 | * @var Environment |
||
23 | */ |
||
24 | private $environment; |
||
25 | |||
26 | /** |
||
27 | * @param Environment $environment |
||
28 | */ |
||
29 | public function __construct(Environment $environment) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function getFunctions(): array |
||
45 | |||
46 | /** |
||
47 | * @param array $options |
||
48 | * |
||
49 | * @throws LoaderError |
||
50 | * @throws RuntimeError |
||
51 | * @throws SyntaxError |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function renderTracker(array $options = []): string |
||
69 | } |
||
70 |