1 | <?php |
||
12 | final class DiscoveryFailedException extends \Exception implements Exception |
||
13 | { |
||
14 | /** |
||
15 | * @var \Exception[] |
||
16 | */ |
||
17 | private $exceptions; |
||
18 | |||
19 | /** |
||
20 | * |
||
21 | * @param string $message |
||
22 | * @param \Exception[] $exceptions |
||
23 | */ |
||
24 | 6 | public function __construct($message, array $exceptions = []) |
|
30 | |||
31 | /** |
||
32 | * @param \Exception[] $exceptions |
||
33 | */ |
||
34 | 6 | public static function create($exceptions) |
|
44 | |||
45 | /** |
||
46 | * @return \Exception[] |
||
47 | */ |
||
48 | public function getExceptions() |
||
52 | } |
||
53 |