| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 51 | 1 | protected function execute(InputInterface $input, OutputInterface $output) |
|
| 52 | { |
||
| 53 | // remove temporary directory |
||
| 54 | 1 | $this->cleanup->cleanUp(); |
|
| 55 | // also remove Symfony cache directory created by running AppKernel::boot() |
||
| 56 | 1 | $this->filesystem->remove($this->cacheDirectory); |
|
| 57 | |||
| 58 | 1 | $output->writeln("Cleaned up the cache"); |
|
| 59 | 1 | } |
|
| 60 | } |
||
| 61 |