protected function Twig_Environment::writeCacheFile in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Environment.php \Twig_Environment::writeCacheFile()
Deprecated
since 1.22 (to be removed in 2.0)
1 call to Twig_Environment::writeCacheFile()
- Twig_Environment::loadTemplate in vendor/
Twig/ Environment.php - Loads a template by name.
File
- vendor/
Twig/ Environment.php, line 1377
Class
- Twig_Environment
- Stores the Twig configuration.
Code
protected function writeCacheFile($file, $content) {
$this->cache
->write($file, $content);
}