Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
18 | public function getFunctions() |
||
19 | { |
||
20 | return [ |
||
21 | new Twig_SimpleFunction('forms_open', [Forms::class, 'open'], ['is_safe' => ['html']]), |
||
22 | new Twig_SimpleFunction('forms_close', [Forms::class, 'close'], ['is_safe' => ['html']]), |
||
23 | new Twig_SimpleFunction('forms_submit', [Forms::class, 'submit'], ['is_safe' => ['html']]), |
||
24 | ]; |
||
25 | } |
||
26 | |||
45 |