1 | <?php |
||
15 | class ChainNoResult extends NoResult |
||
16 | { |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $exceptions = []; |
||
21 | |||
22 | /** |
||
23 | * ChainNoResult constructor. |
||
24 | * |
||
25 | * @param string $message |
||
26 | * @param array $exceptions Array of Exception instances. |
||
27 | */ |
||
28 | public function __construct($message, array $exceptions = []) |
||
34 | |||
35 | /** |
||
36 | * Returns the exceptions from the chained providers. |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function getExceptions() |
||
44 | } |
||
45 |