You are here

public function Twig_Error::getTemplateFile in Zircon Profile 8

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

Gets the filename where the error occurred.

Return value

string The filename

File

vendor/twig/twig/lib/Twig/Error.php, line 94

Class

Twig_Error
Twig base exception.

Code

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