| Conditions | 4 |
| Paths | 4 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | private function processFormat($format, $functionName, $value) { |
||
| 21 | foreach ($value as &$val) { |
||
| 22 | foreach ($this->formatters as $formatter) { |
||
| 23 | if (is_callable([$formatter, $functionName])) { |
||
| 24 | $val = call_user_func_array([$formatter, $functionName], array_merge([$val], $format)); |
||
| 25 | } |
||
| 26 | } |
||
| 27 | } |
||
| 28 | return $value; |
||
| 29 | } |
||
| 30 | } |