Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class TwigExtension extends AbstractExtension |
||
10 | { |
||
11 | /** |
||
12 | * @var ManagerRegistry |
||
13 | */ |
||
14 | protected $doctrine; |
||
15 | |||
16 | public function __construct(ManagerRegistry $doctrine) |
||
17 | { |
||
18 | $this->doctrine = $doctrine; |
||
19 | } |
||
20 | |||
21 | public function getFilters(): array |
||
25 | ]; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function getName(): string |
||
34 | } |
||
35 | } |
||
36 |