Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | abstract class Command extends SymfonyCommand |
||
27 | { |
||
28 | /** |
||
29 | * Input output handler |
||
30 | * |
||
31 | * @var \CaptainHook\App\Console\IO |
||
32 | */ |
||
33 | private $io; |
||
34 | |||
35 | /** |
||
36 | * IO setter |
||
37 | * |
||
38 | * @param \CaptainHook\App\Console\IO $io |
||
39 | */ |
||
40 | public function setIO(IO $io): void |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * IO interface getter |
||
47 | * |
||
48 | * @param \Symfony\Component\Console\Input\InputInterface $input |
||
49 | * @param \Symfony\Component\Console\Output\OutputInterface $output |
||
50 | * @return \CaptainHook\App\Console\IO |
||
51 | */ |
||
52 | public function getIO(InputInterface $input, OutputInterface $output): IO |
||
60 |