You are here

public function Twig_Environment::getTemplateClassPrefix in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/Environment.php \Twig_Environment::getTemplateClassPrefix()

Gets the template class prefix.

Return value

string The template class prefix

Deprecated

since 1.22 (to be removed in 2.0)

File

vendor/Twig/Environment.php, line 326

Class

Twig_Environment
Stores the Twig configuration.

Code

public function getTemplateClassPrefix() {
  @trigger_error(sprintf('The %s method is deprecated and will be removed in Twig 2.0.', __METHOD__), E_USER_DEPRECATED);
  return $this->templateClassPrefix;
}