You are here

public function Twig_Error::getTemplateFile in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/Error.php \Twig_Error::getTemplateFile()

Gets the filename where the error occurred.

Return value

string The filename

File

vendor/Twig/Error.php, line 94

Class

Twig_Error
Twig base exception.

Code

public function getTemplateFile() {
  return $this->filename;
}