public function Twig_Error_Loader::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/twig/twig/lib/Twig/Error/Loader.php \Twig_Error_Loader::__construct()
Constructor.
Set both the line number and the filename to false to disable automatic guessing of the original template name and line number.
Set the line number to -1 to enable its automatic guessing. Set the filename to null to enable its automatic guessing.
By default, automatic guessing is enabled.
Parameters
string $message The error message:
int $lineno The template line where the error occurred:
string $filename The template file name where the error occurred:
Exception $previous The previous exception:
Overrides Twig_Error::__construct
File
- vendor/
twig/ twig/ lib/ Twig/ Error/ Loader.php, line 27
Class
- Twig_Error_Loader
- Exception thrown when an error occurs during template loading.
Code
public function __construct($message, $lineno = -1, $filename = null, Exception $previous = null) {
parent::__construct($message, false, false, $previous);
}