| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class PutCommand extends Command |
||
| 10 | { |
||
| 11 | protected function configure(): void |
||
| 12 | { |
||
| 13 | parent::configure(); |
||
| 14 | |||
| 15 | $this |
||
| 16 | ->setName('put') |
||
| 17 | ->setDescription('Puts a task into the queue') |
||
| 18 | ->addArgument('json-data', InputArgument::REQUIRED) |
||
| 19 | ; |
||
| 20 | } |
||
| 21 | |||
| 22 | protected function execute(InputInterface $input, OutputInterface $output): void |
||
| 39 | )); |
||
| 40 | } |
||
| 42 |