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 (opens new window)
# Public Methods
Method | Description |
---|---|
__construct() | Constructor. |
compile() |
# __construct()
Constructor.
View source (opens new window)
Arguments
$stage
(string (opens new window)) – The profiling stage ('begin' or 'end')$type
(string (opens new window)) – The type of template element being profiled ('template', 'block', or 'macro')$name
(string (opens new window)) – The name of the template element
# compile()
View source (opens new window)
Arguments
$compiler