You are here

public function Kernel::setClassCache in Zircon Profile 8.0

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

Used internally.

File

vendor/symfony/http-kernel/Kernel.php, line 367

Class

Kernel
The Kernel is the heart of the Symfony system.

Namespace

Symfony\Component\HttpKernel

Code

public function setClassCache(array $classes) {
  file_put_contents($this
    ->getCacheDir() . '/classes.map', sprintf('<?php return %s;', var_export($classes, true)));
}