Conditions | 2 |
Paths | 2 |
Total Lines | 14 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
35 | { |
||
36 | $this->stateReader->read(); |
||
37 | |||
38 | $output->writeln('Start writing files.'); |
||
39 | |||
40 | foreach ($this->stateReader as $state) { |
||
41 | $output->write($state->getClassName() . ' ... '); |
||
42 | |||
43 | $this->writer->write($input->getArgument('path'), $state); |
||
44 | |||
45 | $output->writeln('done!'); |
||
46 | } |
||
47 | } |
||
48 | } |
||
49 |