Total Complexity | 3 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 83.33% |
Changes | 0 |
1 | <?php namespace App\Utilities; |
||
7 | class HandleOutput extends Twig_Extension { |
||
8 | /** |
||
9 | * Functions |
||
10 | * @return void |
||
1 ignored issue
–
show
|
|||
11 | */ |
||
12 | 17 | public function getFunctions() { |
|
13 | return [ |
||
1 ignored issue
–
show
|
|||
14 | 17 | new Twig_SimpleFunction('handleOutput', [$this, 'handleOutput']), |
|
15 | ]; |
||
16 | } |
||
17 | |||
18 | 4 | public function handleOutput($output, $outputHtml, $nullHtml) { |
|
23 | } |
||
24 | 4 | } |
|
27 |