CacheTool\Command\OpcacheConfigurationCommand::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_configuration();
        $output->writeln("<info>{$info['version']['opcache_product_name']}</info> <comment>{$info['version']['version']}</comment>");
        $table = new Table($output);
        $table->setHeaders(array('Directive', 'Value'))->setRows($this->processDirectives($info['directives']));
        $table->render($output);
    }
OpcacheConfigurationCommand