| Conditions | 2 |
| Paths | 3 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 32 | { |
||
| 33 | $output->writeln('Creating configuration table...'); |
||
| 34 | $factory = $this->getConfigurationFactory(); |
||
| 35 | $persistence = $factory->getBuilderFactory()->getPersistence(); |
||
| 36 | try { |
||
| 37 | $persistence->create(); |
||
| 38 | $output->writeln('Table created'); |
||
| 39 | } catch (\Exception $e) { |
||
| 40 | $output->writeln('Unable to create table: ' . $e->getMessage()); |
||
| 41 | } |
||
| 42 | } |
||
| 43 | |||
| 45 |