protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $group = $input->getOption('group');
     $client = $input->getOption('client');
     $client_string = $client ? 'administrative ' : 'front end ';
     $deleted = $this->deleteCache($client, $group);
     foreach ($deleted as $item) {
         $output->writeln('<info>' . $client_string . $item . ' cache items have been deleted</info>');
     }
     if (!count($deleted)) {
         $output->writeln("<info>There are no {$client_string} cache items to delete</info>");
     }
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $this->check($input, $output);
     $items = $this->listCache($input, $output);
     $client_string = $input->getOption('client') == 1 ? 'administrative side' : 'front end';
     if (count($items)) {
         foreach ($items as $item) {
             $output->writeln($item->group);
         }
     } else {
         $output->writeln("<info>There appears to be no cache items for the {$client_string}</info>");
     }
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     parent::execute($input, $output);
     $this->purgeCache($input, $output);
 }