You are here

public function Twig_Error::getTemplateLine in Translation template extractor 6.3

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

Gets the template line where the error occurred.

Return value

int The template line

File

vendor/Twig/Error.php, line 116

Class

Twig_Error
Twig base exception.

Code

public function getTemplateLine() {
  return $this->lineno;
}