Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class ConfigCommand extends Command |
||
21 | { |
||
22 | /** |
||
23 | * @var Config |
||
24 | */ |
||
25 | private $config; |
||
26 | |||
27 | public function __construct(?string $name = null, Config $config) |
||
28 | { |
||
29 | parent::__construct($name); |
||
30 | $this->config = $config; |
||
31 | } |
||
32 | |||
33 | protected function configure(): void |
||
34 | { |
||
35 | $this |
||
36 | ->setName('config') |
||
37 | ; |
||
38 | } |
||
39 | |||
40 | protected function execute(InputInterface $input, OutputInterface $output): void |
||
51 | )); |
||
52 | } |
||
53 | } |
||
55 |