public function ConfigDataCollector::hasAccelerator

Returns true if any accelerator is enabled.

Return value

Boolean true if any accelerator is enabled, false otherwise

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DataCollector/ConfigDataCollector.php, line 170

Class

ConfigDataCollector
ConfigDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

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