Total Complexity | 2 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 44.44% |
Changes | 0 |
1 | <?php |
||
10 | final class ShowTask extends ManagerCommand |
||
11 | { |
||
12 | use CommandTrait; |
||
13 | |||
14 | public function configure() |
||
15 | { |
||
16 | $this |
||
17 | ->setName('show') |
||
18 | ->setDescription('Show a task information') |
||
19 | ->addArgument('identifier', InputArgument::REQUIRED, 'Task UUID identifier') |
||
20 | ; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * |
||
25 | * @param InputInterface $input |
||
26 | * @param OutputInterface $output |
||
27 | * @return int |
||
28 | */ |
||
29 | 1 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
36 | } |
||
37 | } |
||
38 |