You are here

public function Twig_Cache_Null::generateKey in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/Cache/Null.php \Twig_Cache_Null::generateKey()

Generates a cache key for the given template class name.

Parameters

string $name The template name:

string $className The template class name:

Return value

string

Overrides Twig_CacheInterface::generateKey

File

vendor/twig/twig/lib/Twig/Cache/Null.php, line 22

Class

Twig_Cache_Null
Implements a no-cache strategy.

Code

public function generateKey($name, $className) {
  return '';
}