Implements a no-cache strategy.
More...
Implements a no-cache strategy.
- Author
- Fabien Potencier fabie.nosp@m.n@sy.nosp@m.mfony.nosp@m..com
Definition at line 19 of file Null.php.
◆ generateKey()
Twig_Cache_Null::generateKey |
( |
|
$name, |
|
|
|
$className |
|
) |
| |
Generates a cache key for the given template class name.
- Parameters
-
string | $name | The template name |
string | $className | The template class name |
- Returns
- string
Implements Twig_CacheInterface.
Definition at line 21 of file Null.php.
◆ getTimestamp()
Twig_Cache_Null::getTimestamp |
( |
|
$key | ) |
|
◆ load()
Twig_Cache_Null::load |
( |
|
$key | ) |
|
◆ write()
Twig_Cache_Null::write |
( |
|
$key, |
|
|
|
$content |
|
) |
| |
Writes the compiled template to cache.
- Parameters
-
string | $key | The cache key |
string | $content | The template representation as a PHP class |
Implements Twig_CacheInterface.
Definition at line 26 of file Null.php.
The documentation for this class was generated from the following file:
- libs/composer/vendor/twig/twig/lib/Twig/Cache/Null.php