| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | public function __construct(array $parameters) |
||
| 13 | { |
||
| 14 | $parametersAsString = []; |
||
| 15 | foreach ($parameters as $key => $value) { |
||
| 16 | $parametersAsString[] = $key.': '.$value; |
||
| 17 | } |
||
| 18 | $message = sprintf('Oh no! Cannot find a viewReference for the given parameters %s', implode(',', $parametersAsString)); |
||
| 19 | parent::__construct($message, 424); |
||
| 20 | } |
||
| 21 | } |
||
| 22 |