public function Twig_Error::setTemplateLine in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Error.php \Twig_Error::setTemplateLine()
 
Sets the template line where the error occurred.
Parameters
int $lineno The template line:
File
- vendor/
Twig/ Error.php, line 126  
Class
- Twig_Error
 - Twig base exception.
 
Code
public function setTemplateLine($lineno) {
  $this->lineno = $lineno;
  $this
    ->updateRepr();
}