public function Twig_LoaderInterface::getCacheKey in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/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/ Loader/ Array.php - Gets the cache key to use for the cache for a given template name.
- Twig_Loader_Chain::getCacheKey in vendor/
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/ Loader/ Filesystem.php - Gets the cache key to use for the cache for a given template name.
- Twig_Loader_String::getCacheKey in vendor/
Twig/ Loader/ String.php - Gets the cache key to use for the cache for a given template name.
File
- vendor/
Twig/ LoaderInterface.php, line 39
Class
- Twig_LoaderInterface
- Interface all loaders must implement.
Code
public function getCacheKey($name);