Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function getFunctions() |
||
19 | { |
||
20 | return [ |
||
21 | new \Twig_SimpleFunction('elastica_sort', [$this, 'displaySort'], [ |
||
22 | 'is_safe' => ['html'], |
||
23 | 'needs_environment' => true, |
||
24 | ]), |
||
25 | new \Twig_SimpleFunction('elastica_clear_sort', [$this, 'clearSort'], [ |
||
26 | 'is_safe' => ['html'], |
||
27 | 'needs_environment' => true, |
||
28 | ]), |
||
29 | ]; |
||
30 | } |
||
31 | |||
54 |