| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 44 | public function collect() |
||
| 45 | { |
||
| 46 | $result = $this->controller->getResponse()->getHeaders(); |
||
| 47 | |||
| 48 | foreach ($result as $key => &$value) { |
||
| 49 | $value = trim(implode(PHP_EOL, explode('; ', $value))); |
||
| 50 | $value = implode(PHP_EOL . ' - ', explode(' ', $value)); |
||
| 51 | } |
||
| 52 | |||
| 53 | return [ |
||
| 54 | 'count' => count($result), |
||
| 55 | 'calls' => $result |
||
| 56 | ]; |
||
| 72 |