@@ 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 |
@@ 66-78 (lines=13) @@ | ||
63 | /** |
|
64 | * {@inheritdoc} |
|
65 | */ |
|
66 | protected function configure() |
|
67 | { |
|
68 | $this |
|
69 | ->setName('itkg_delay_event:process') |
|
70 | ->setDescription('Process async events') |
|
71 | ->addOption( |
|
72 | 'channel', |
|
73 | 'c', |
|
74 | InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, |
|
75 | 'Specify the channels to process (default: [\'default\'])', |
|
76 | ['default'] |
|
77 | ); |
|
78 | } |
|
79 | ||
80 | /** |
|
81 | * {@inheritdoc} |