You are here

public function ConfigDataCollector::hasAccelerator in Zircon Profile 8.0

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

Returns true if any accelerator is enabled.

Return value

bool true if any accelerator is enabled, false otherwise

File

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

Class

ConfigDataCollector
ConfigDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

public function hasAccelerator() {
  return $this
    ->hasApc() || $this
    ->hasZendOpcache() || $this
    ->hasEAccelerator() || $this
    ->hasXCache() || $this
    ->hasWinCache();
}