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