You are here

public function ConfigDataCollector::hasZendOpcache in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/DataCollector/ConfigDataCollector.php \Symfony\Component\HttpKernel\DataCollector\ConfigDataCollector::hasZendOpcache()

Returns true if Zend OPcache is enabled.

Return value

bool true if Zend OPcache is enabled, false otherwise

1 call to ConfigDataCollector::hasZendOpcache()
ConfigDataCollector::hasAccelerator in vendor/symfony/http-kernel/DataCollector/ConfigDataCollector.php
Returns true if any accelerator is enabled.

File

vendor/symfony/http-kernel/DataCollector/ConfigDataCollector.php, line 210

Class

ConfigDataCollector
ConfigDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function hasZendOpcache() {
  return $this->data['zend_opcache_enabled'];
}