Contao\CoreBundle\Cache\ContaoCacheWarmer::generateConfigCache PHP Метод

generateConfigCache() приватный Метод

Generates the config cache.
private generateConfigCache ( string $cacheDir )
$cacheDir string
    private function generateConfigCache($cacheDir)
    {
        $dumper = new CombinedFileDumper($this->filesystem, new PhpFileLoader(), $cacheDir . '/contao', true);
        $dumper->dump($this->locator->locate('config/autoload.php', null, false), 'config/autoload.php');
        $dumper->dump($this->locator->locate('config/config.php', null, false), 'config/config.php');
    }