CacheTool\Command\OpcacheStatusScriptsCommand::execute PHP Метод

execute() защищенный Метод

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('Zend OPcache');
        $info = $this->getCacheTool()->opcache_get_status(true);
        if ($info === false) {
            throw new \RuntimeException('opcache_get_status(): No Opcache status info available.  Perhaps Opcache is disabled via opcache.enable or opcache.enable_cli?');
        }
        $table = new Table($output);
        $table->setHeaders(array('Hits', 'Memory', 'Filename'))->setRows($this->processFilelist($info['scripts']));
        $table->render($output);
    }