public function Twig_CacheInterface::write in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/CacheInterface.php \Twig_CacheInterface::write()
Writes the compiled template to cache.
Parameters
string $key The cache key:
string $content The template representation as a PHP class:
2 methods override Twig_CacheInterface::write()
- Twig_Cache_Filesystem::write in vendor/
twig/ twig/ lib/ Twig/ Cache/ Filesystem.php - Writes the compiled template to cache.
- Twig_Cache_Null::write in vendor/
twig/ twig/ lib/ Twig/ Cache/ Null.php - Writes the compiled template to cache.
File
- vendor/
twig/ twig/ lib/ Twig/ CacheInterface.php, line 39
Class
- Twig_CacheInterface
- Interface implemented by cache classes.
Code
public function write($key, $content);