You are here

public function ConfigDataCollector::hasApc 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::hasApc()

Returns true if APC is enabled.

Return value

bool true if APC is enabled, false otherwise

1 call to ConfigDataCollector::hasApc()
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 200

Class

ConfigDataCollector
ConfigDataCollector.

Namespace

Symfony\Component\HttpKernel\DataCollector

Code

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