public function Twig_Error_Loader::__construct in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/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/ 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);
}