1 | <?php |
||
19 | class TwigExtensions { |
||
20 | |||
21 | /** |
||
22 | * Registers all extensions. |
||
23 | * |
||
24 | * @param Container $app |
||
25 | * the current application |
||
26 | */ |
||
27 | public function registerTwigExtensions(Container $app) { |
||
34 | /** |
||
35 | * To have array_column available as Twig filter. |
||
36 | * |
||
37 | * @param $array |
||
38 | * the array |
||
39 | * @param $key |
||
40 | * the key |
||
41 | * |
||
42 | * @return array |
||
43 | * the resulting array |
||
44 | */ |
||
45 | public function arrayColumn($array, $key) { |
||
48 | |||
49 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.