Total Complexity | 3 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class MapCheckCommand extends Command |
||
19 | { |
||
20 | /** |
||
21 | * {@inheritdoc} |
||
22 | */ |
||
23 | protected function configure() |
||
24 | { |
||
25 | $this |
||
26 | ->setName('map:check') |
||
27 | ->setDescription('Checks a map.') |
||
28 | ->setHelp('This command loads a mapping file and check if it loads.') |
||
29 | ; |
||
30 | |||
31 | $this |
||
32 | ->addArgument('file', InputArgument::REQUIRED, 'Path to the map file') |
||
33 | ; |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | protected function execute(InputInterface $input, OutputInterface $output) |
||
67 | } |
||
68 | } |
||
69 |