You are here

public function Twig_CacheInterface::write in Translation template extractor 7.3

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/Cache/Filesystem.php
Writes the compiled template to cache.
Twig_Cache_Null::write in vendor/Twig/Cache/Null.php
Writes the compiled template to cache.

File

vendor/Twig/CacheInterface.php, line 39

Class

Twig_CacheInterface
Interface implemented by cache classes.

Code

public function write($key, $content);