| 1 | <?php |
||
| 5 | class AggregateException extends Exception |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var Exception[] |
||
| 9 | */ |
||
| 10 | public $exceptions; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * AggregateException constructor. |
||
| 14 | * @param string $message |
||
| 15 | * @param int $code |
||
| 16 | * @param Exception[] $exceptions |
||
| 17 | */ |
||
| 18 | public function __construct($message, $code, array $exceptions) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return Exception[] |
||
| 27 | */ |
||
| 28 | public function getExceptions() |
||
| 32 | } |