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