You are here

protected function Twig_Environment::writeCacheFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/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/twig/lib/Twig/Environment.php
Loads a template by name.

File

vendor/twig/twig/lib/Twig/Environment.php, line 1377

Class

Twig_Environment
Stores the Twig configuration.

Code

protected function writeCacheFile($file, $content) {
  $this->cache
    ->write($file, $content);
}