Twig_Environment::getTemplateClass
Gets the template class associated with the given string.
Signature
public function getTemplateClass(string
$name,
[integer
$index = null] )
Parameters
$name
— string- The name for which to calculate the template class name
$index
— integer- The index if it is an embedded template
Returns
- string
- The template class name