| 1 | <?php |
||
| 5 | class AllFailedException extends \RuntimeException |
||
| 6 | { |
||
| 7 | private $reasons; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Constructor. |
||
| 11 | * @param string $message Dummy message. |
||
| 12 | * @param int $code Always zero. |
||
| 13 | * @param mixed $reasons Reasons why jobs are failed. |
||
| 14 | */ |
||
| 15 | 3 | public function __construct($message, $code, $reasons) |
|
| 20 | |||
| 21 | /** |
||
| 22 | * Get value. |
||
| 23 | * @return mixed |
||
| 24 | */ |
||
| 25 | 3 | public function getReasons() |
|
| 29 | } |
||
| 30 |