1 | <?php |
||
7 | class ConsumeExceptionEvent extends ConsumeEvent |
||
8 | { |
||
9 | /** |
||
10 | * @var \Exception |
||
11 | */ |
||
12 | private $exception; |
||
13 | |||
14 | /** |
||
15 | * @param EnvelopeInterface $envelope |
||
16 | * @param \Exception $exception |
||
17 | */ |
||
18 | 2 | public function __construct(EnvelopeInterface $envelope, \Exception $exception) |
|
24 | |||
25 | /** |
||
26 | * @return \Exception |
||
27 | */ |
||
28 | 1 | public function getException() |
|
32 | } |
||
33 |