You are here

public function Twig_Error::getTemplateLine in Zircon Profile 8.0

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

Gets the template line where the error occurred.

Return value

int The template line

File

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

Class

Twig_Error
Twig base exception.

Code

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