Skip to content

Profiler

Type
Class
Namespace
craft\web\twig\nodevisitors
Inherits
craft\web\twig\nodevisitors\Profiler
Implements
Twig\NodeVisitor\NodeVisitorInterface
Since
3.3.0

Profiler adds profiling to template bodies, blocks, and macros.

View source

Public Methods

MethodDescription
enterNode()
getPriority()
leaveNode()

enterNode()

View source

Arguments

  • $node
  • $env

getPriority()

View source

leaveNode()

View source

Arguments

  • $node
  • $env