ProfileNode

Type
Class
Namespace
craft\web\twig\nodes
Inherits
craft\web\twig\nodes\ProfileNode » Twig\Node\Node
Since
3.3.0

Profile Node.

View source

Public Methods

MethodDescription
__construct()Constructor.
compile()

__construct()

Constructor.

View source

Arguments

  • $stage (string) – The profiling stage ('begin' or 'end')
  • $type (string) – The type of template element being profiled ('template', 'block', or 'macro')
  • $name (string) – The name of the template element

compile()

View source

Arguments

  • $compiler