Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 5 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
9 | class DataCollectorExtension extends \Twig_Extension |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * @var SchemaLocator |
||
13 | */ |
||
14 | protected $schemaLocator; |
||
15 | |||
16 | /** |
||
17 | * @param SchemaLocator $schemaLocator |
||
18 | */ |
||
19 | 3 | public function __construct(SchemaLocator $schemaLocator) |
|
20 | { |
||
21 | 3 | $this->schemaLocator = $schemaLocator; |
|
22 | 3 | } |
|
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | 1 | public function getFunctions(): array |
|
31 | ]; |
||
32 | } |
||
34 |