public function Kernel::loadClassCache

Loads the PHP class 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 423

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function loadClassCache($name = 'classes', $extension = '.php') {
  if (!$this->booted && is_file($this
    ->getCacheDir() . '/classes.map')) {
    ClassCollectionLoader::load(include $this
      ->getCacheDir() . '/classes.map', $this
      ->getCacheDir(), $name, $this->debug, false, $extension);
  }
}