| 1 | <?php |
||
| 10 | final class CommandJob extends AbstractJob |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var object |
||
| 14 | * |
||
| 15 | * @Serializer\Type("tactician_command") |
||
| 16 | */ |
||
| 17 | private $command; |
||
| 18 | |||
| 19 | 1 | public function __construct($command, string $queue, string $exchange) |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @return mixed |
||
| 28 | */ |
||
| 29 | 1 | public function getCommand() |
|
| 33 | |||
| 34 | /** |
||
| 35 | * @deprecated Only for compatibility with current implementation in queue |
||
| 36 | */ |
||
| 37 | public function getDefaultQueue(): string |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @deprecated Only for compatibility with current implementation in queue |
||
| 44 | */ |
||
| 45 | public function getDefaultExchange(): string |
||
| 49 | } |
||
| 50 |