| 1 | <?php |
||
| 11 | class ConsumeCommand extends Command |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var ConsumerService |
||
| 15 | */ |
||
| 16 | private $consumerService; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * ConsumeCommand constructor. |
||
| 20 | */ |
||
| 21 | public function __construct(ConsumerService $consumerService, $commandName = 'amqp:consume', $description = null) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * {@inheritdoc} |
||
| 30 | */ |
||
| 31 | protected function configure() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 44 | } |
||
| 45 |