1 | <?php |
||
9 | class DebugExtension extends Twig_Extension |
||
10 | { |
||
11 | /** |
||
12 | * @return string |
||
13 | */ |
||
14 | 1 | public function getName() |
|
18 | |||
19 | /** |
||
20 | * @return array |
||
21 | */ |
||
22 | 1 | public function getFunctions() |
|
28 | |||
29 | /** |
||
30 | * pause the code! |
||
31 | * @param Twig_Environment $environment |
||
32 | * @param $context |
||
33 | */ |
||
34 | 1 | public function setBreakpoint(Twig_Environment $environment, $context) |
|
40 | } |
||
41 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.