protected function execute(InputInterface $input, OutputInterface $output) { $this->ensureExtensionLoaded('apc'); $info = $this->getCacheTool()->apc_cache_info('system'); $this->normalize($info); if (!$info) { throw new \RuntimeException("Could not fetch info from APC"); } $header = array('Hits', 'Accessed', 'Deleted', 'Memory size', 'Filename'); $table = new Table($output); $table->setHeaders($header)->setRows($this->processFilelist($info['cache_list'])); $table->render($output); }