extends |
Error |
|---|
\Exception thrown when a syntax error occurs during lexing or parsing of a template.
| Methods | ||
|---|---|---|
public
|
addSuggestions(string $name, array $items): void
|
# |
| Methods inherited from Twig\Error\Error |
|---|
__construct(), getRawMessage(), getTemplateLine(), setTemplateLine(), getSourceContext(), setSourceContext(), guess(), appendMessage(), |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Properties inherited from Twig\Error\Error |
|---|
$lineno, $name, $rawMessage, $sourcePath, $sourceCode |