Twig_Cache_Null

Extends\Twig\Cache\NullCache

Implements a no-cache strategy.

package

Default

Methods

Generates a cache key for the given template class name.

generateKey(string $name,string $className): string
inherited

Arguments

$name

string

The template name

$className

string

The template class name

Response

string

Returns the modification timestamp of a key.

getTimestamp(string $key): integer
inherited

Arguments

$key

string

The cache key

Response

integer

Loads a template from the cache.

load(string $key)
inherited

Arguments

$key

string

The cache key

Writes the compiled template to cache.

write(string $key,string $content)
inherited

Arguments

$key

string

The cache key

$content

string

The template representation as a PHP class