You are here

public function Twig_CacheInterface::generateKey in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/CacheInterface.php \Twig_CacheInterface::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

2 methods override Twig_CacheInterface::generateKey()
Twig_Cache_Filesystem::generateKey in vendor/twig/twig/lib/Twig/Cache/Filesystem.php
Generates a cache key for the given template class name.
Twig_Cache_Null::generateKey in vendor/twig/twig/lib/Twig/Cache/Null.php
Generates a cache key for the given template class name.

File

vendor/twig/twig/lib/Twig/CacheInterface.php, line 31

Class

Twig_CacheInterface
Interface implemented by cache classes.

Code

public function generateKey($name, $className);