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); }