public function Kernel::loadClassCache

Loads the PHP class cache.

This methods only registers the fact that you want to load the cache classes. The cache will actually only be loaded when the Kernel is booted.

That optimization is mainly useful when using the HttpCache class in which case the class cache is not loaded if the Response is in the cache.

Parameters

string $name The cache name prefix:

string $extension File extension of the resulting file:

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Kernel.php, line 403

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function loadClassCache($name = 'classes', $extension = '.php') {
  $this->loadClassCache = array(
    $name,
    $extension,
  );
}