You are here

public function Twig_LoaderInterface::getCacheKey in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/LoaderInterface.php \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 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 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 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 vendor/twig/twig/lib/Twig/Loader/String.php
Gets the cache key to use for the cache for a given template name.

File

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

Class

Twig_LoaderInterface
Interface all loaders must implement.

Code

public function getCacheKey($name);