| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 20 | { |
||
| 21 | if( $this->getContainer()->get('browscap')->updateCache() ) { |
||
| 22 | |||
| 23 | $output->writeln('The cache has been updated successfully'); |
||
| 24 | return; |
||
| 25 | } |
||
| 26 | $output->writeln('An error occurred during cache update'); |
||
| 27 | } |
||
| 28 | } |
||
| 29 |