| @@ 68-80 (lines=13) @@ | ||
| 65 | /** |
|
| 66 | * {@inheritDoc} |
|
| 67 | */ |
|
| 68 | protected function configure() |
|
| 69 | { |
|
| 70 | $this |
|
| 71 | ->setName('itkg_delay_event:process') |
|
| 72 | ->setDescription('Process async events') |
|
| 73 | ->addOption( |
|
| 74 | 'channel', |
|
| 75 | 'c', |
|
| 76 | InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, |
|
| 77 | 'Specify the channels to process (default: [\'default\'])', |
|
| 78 | ['default'] |
|
| 79 | ); |
|
| 80 | } |
|
| 81 | ||
| 82 | /** |
|
| 83 | * @param InputInterface $input |
|
| @@ 36-48 (lines=13) @@ | ||
| 33 | /** |
|
| 34 | * {@inheritDoc} |
|
| 35 | */ |
|
| 36 | protected function configure() |
|
| 37 | { |
|
| 38 | $this |
|
| 39 | ->setName('itkg_delay_event:unlock') |
|
| 40 | ->setDescription('Unlock command') |
|
| 41 | ->addOption( |
|
| 42 | 'channel', |
|
| 43 | 'c', |
|
| 44 | InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, |
|
| 45 | 'Specify the channels to unlock (default: [\'default\'])', |
|
| 46 | ['default'] |
|
| 47 | ); |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * @param InputInterface $input |
|