Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | #[AsCommand( |
||
13 | name: 'graphql:config', |
||
14 | description: 'Create GraphQL config with default values', |
||
15 | help: 'Dump default values into config/graphql.php file', |
||
16 | )] |
||
17 | final class ConfigCommand extends Command |
||
18 | { |
||
19 | 1 | public function __construct( |
|
20 | private readonly FilesInterface $files, |
||
21 | private readonly DirectoriesInterface $dirs, |
||
22 | ) { |
||
23 | 1 | parent::__construct(); |
|
24 | } |
||
25 | |||
26 | 1 | public function perform(): int |
|
36 | } |
||
37 | } |
||
38 |