1 | <?php |
||
13 | class QueueBeforeGetProcessorEvent extends QueueWorkerRunEvent |
||
14 | { |
||
15 | /** |
||
16 | * Command data before translation. |
||
17 | * |
||
18 | * @var CommandInterface |
||
19 | */ |
||
20 | private $command; |
||
21 | |||
22 | /** |
||
23 | * Class constructor. |
||
24 | * |
||
25 | * @param WorkerInterface $worker Worker processing this command. |
||
26 | * @param CommandInterface $command |
||
27 | * @param string $subsystem Subsystem name. |
||
28 | */ |
||
29 | 3 | public function __construct(WorkerInterface $worker, CommandInterface $command, $subsystem = null) |
|
34 | |||
35 | /** |
||
36 | * Get command data before translation. |
||
37 | * |
||
38 | * @return CommandInterface |
||
39 | */ |
||
40 | 1 | public function getCommand() |
|
44 | } |
||
45 |