Template

Type
Abstract Class
Namespace
craft\web\twig
Inherits
craft\web\twig\Template » Twig\Template
Since
3.0

Base Twig template class.

View source

Public Methods

MethodDescription
display()

display()

View source

Arguments

  • $context
  • $blocks

Protected Methods

MethodDescription
displayWithErrorHandling()Displays the template.

displayWithErrorHandling()

Displays the template.

View source

Arguments

Throws

  • \Twig\Error\Error
  • \Twig\Error\RuntimeError