| 1 | <?php |
||
| 13 | class ConsumeCommand extends Command |
||
| 14 | { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var ConsumerService |
||
| 18 | */ |
||
| 19 | private $consumerService; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * ConsumeCommand constructor. |
||
| 23 | */ |
||
| 24 | public function __construct(ConsumerService $consumerService, $commandName = "amqp:consume", $description = null) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * {@inheritdoc} |
||
| 33 | */ |
||
| 34 | protected function configure() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 47 | |||
| 48 | } |