Template
- Type
- Abstract Class
- Namespace
- craft\web\twig
- Inherits
- craft\web\twig\Template ยป
Twig\Template
- Since
- 3.0.0
- Deprecated in
- in 3.3.0
Base Twig template class.
View source (opens new window)
# Public Methods
Method | Description |
---|---|
getDebugInfo() |
# getDebugInfo()
View source (opens new window)
Returns
integer (opens new window)[] โ
# Protected Methods
Method | Description |
---|---|
displayWithErrorHandling() | Displays the template. |
# displayWithErrorHandling()
Displays the template.
View source (opens new window)
Arguments
$context
(array (opens new window))$blocks
(array (opens new window))
Throws
\Twig\Error\Error
\Twig\Error\RuntimeError
โ GlobalsExtension TemplateLoader โ