CacheTool\Command\ApcuCacheInfoKeysCommand::execute PHP Method

execute() protected method

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
    protected function execute(InputInterface $input, OutputInterface $output)
    {
        $this->ensureExtensionLoaded('apcu');
        $info = $this->getCacheTool()->apcu_cache_info(false);
        $this->normalize($info);
        if (!$info) {
            throw new \RuntimeException("Could not fetch info from APCu");
        }
        $header = array('Hits', 'Accessed', 'Deleted', 'Memory size', 'Key');
        $table = new Table($output);
        $table->setHeaders($header)->setRows($this->processFilelist($info['cache_list']));
        $table->render($output);
    }