| 1 | <?php |
||
| 8 | class RejectEnvelopeEvent extends EnvelopeEvent |
||
| 9 | { |
||
| 10 | protected $exception; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param Envelope $envelope |
||
| 14 | * @param Queue $queue |
||
| 15 | * @param \Exception|\Throwable $exception |
||
| 16 | */ |
||
| 17 | 7 | public function __construct(Envelope $envelope, Queue $queue, $exception) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @return \Exception|\Throwable |
||
| 26 | */ |
||
| 27 | 3 | public function getException() |
|
| 31 | } |
||
| 32 |