public function Twig_LoaderInterface::getCacheKey

Gets the cache key to use for the cache for a given template name.

Parameters

string $name The name of the template to load:

Return value

string The cache key

Throws

Twig_Error_Loader When $name is not found

4 methods override Twig_LoaderInterface::getCacheKey()
Twig_Loader_Array::getCacheKey in drupal/core/vendor/twig/twig/lib/Twig/Loader/Array.php
Gets the cache key to use for the cache for a given template name.
Twig_Loader_Chain::getCacheKey in drupal/core/vendor/twig/twig/lib/Twig/Loader/Chain.php
Gets the cache key to use for the cache for a given template name.
Twig_Loader_Filesystem::getCacheKey in drupal/core/vendor/twig/twig/lib/Twig/Loader/Filesystem.php
Gets the cache key to use for the cache for a given template name.
Twig_Loader_String::getCacheKey in drupal/core/vendor/twig/twig/lib/Twig/Loader/String.php
Gets the cache key to use for the cache for a given template name.

File

drupal/core/vendor/twig/twig/lib/Twig/LoaderInterface.php, line 39

Class

Twig_LoaderInterface
Interface all loaders must implement.

Code

public function getCacheKey($name);