Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
38 | protected function execute(InputInterface $input, OutputInterface $output) |
||
39 | { |
||
40 | $io = new SymfonyStyle($input, $output); |
||
41 | $this |
||
42 | ->getManager($input->getOption('manager')) |
||
43 | ->clearCache(); |
||
44 | $io->success( |
||
45 | sprintf( |
||
46 | 'Elasticsearch index cache has been cleared for manager named `%s`', |
||
47 | $input->getOption('manager') |
||
48 | ) |
||
49 | ); |
||
50 | } |
||
51 | } |
||
52 |