Total Complexity | 3 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class DebugExtension extends AbstractExtension |
||
12 | { |
||
13 | /** |
||
14 | * @return array |
||
15 | */ |
||
16 | public function getFunctions() : array |
||
23 | ), |
||
24 | ]; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param Environment $env |
||
29 | * @param $value |
||
30 | * |
||
31 | * @throws \Exception |
||
32 | * |
||
33 | * @return bool|string |
||
34 | */ |
||
35 | public function dump(Environment $env, $value) |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * This method is removed from interface in Twig v2.0 |
||
50 | * |
||
51 | * @TODO Remove this method when drop support of Symfony < 5.0 |
||
52 | * |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getName() : string |
||
60 |