| Conditions | 2 |
| Paths | 2 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function __construct(Throwable ...$exceptions) |
||
| 16 | { |
||
| 17 | $this->exceptions = $exceptions; |
||
| 18 | $count = count($exceptions); |
||
| 19 | $message = $count === 1 ? 'One exception was thrown.' : $count . ' exceptions were thrown.'; |
||
| 20 | parent::__construct($message . $this->getMessageDetails()); |
||
| 21 | } |
||
| 49 |