class Twig_Cache_Null in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Cache/Null.php \Twig_Cache_Null
Implements a no-cache strategy.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Twig_Cache_Null implements Twig_CacheInterface
Expanded class hierarchy of Twig_Cache_Null
File
- vendor/
twig/ twig/ lib/ Twig/ Cache/ Null.php, line 17
View source
class Twig_Cache_Null implements Twig_CacheInterface {
/**
* {@inheritdoc}
*/
public function generateKey($name, $className) {
return '';
}
/**
* {@inheritdoc}
*/
public function write($key, $content) {
}
/**
* {@inheritdoc}
*/
public function load($key) {
}
/**
* {@inheritdoc}
*/
public function getTimestamp($key) {
return 0;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Twig_Cache_Null:: |
public | function |
Generates a cache key for the given template class name. Overrides Twig_CacheInterface:: |
|
Twig_Cache_Null:: |
public | function |
Returns the modification timestamp of a key. Overrides Twig_CacheInterface:: |
|
Twig_Cache_Null:: |
public | function |
Loads a template from the cache. Overrides Twig_CacheInterface:: |
|
Twig_Cache_Null:: |
public | function |
Writes the compiled template to cache. Overrides Twig_CacheInterface:: |