1 | <?php |
||
15 | class QueueProcessErrorEvent extends QueueProcessEvent |
||
16 | { |
||
17 | /** |
||
18 | * Exception. |
||
19 | * |
||
20 | * @var Exception |
||
21 | */ |
||
22 | private $exception; |
||
23 | |||
24 | /** |
||
25 | * Class constructor. |
||
26 | * |
||
27 | * @param WorkerInterface $worker Worker processing this command. |
||
28 | * @param CommandInterface $command |
||
29 | * @param CommandProcessorInterface $processor |
||
30 | * @param Exception $e |
||
31 | * @param string $subsystem Subsystem name. |
||
32 | */ |
||
33 | 2 | public function __construct(WorkerInterface $worker, CommandInterface $command, CommandProcessorInterface $processor, Exception $e, $subsystem = null) |
|
38 | |||
39 | /** |
||
40 | * Return exception. |
||
41 | * |
||
42 | * @return Exception |
||
43 | */ |
||
44 | 1 | public function getException() |
|
48 | } |
||
49 |