Conditions | 2 |
Paths | 3 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | protected function execute(InputInterface $input, OutputInterface $output) |
||
29 | { |
||
30 | try { |
||
31 | $this->adapter->createTable(); |
||
32 | $output->writeln("<info>Caching table created!</info>"); |
||
33 | } catch (\PDOException | DBALException $exception) { |
||
34 | $output->writeln($exception->getMessage(), OutputInterface::VERBOSITY_VERBOSE); |
||
35 | $output->writeln("<info>Got database error, assuming caching table already exists</info>"); |
||
36 | } |
||
39 |