Class yii\twig\Optimizer
Inheritance | yii\twig\Optimizer |
---|---|
Implements | Twig_NodeVisitorInterface |
Optimizer removes echo before special functions call and injects function name as an argument for the view helper calls.
Public Methods
Method | Description | Defined By |
---|---|---|
enterNode() | yii\twig\Optimizer | |
getPriority() | yii\twig\Optimizer | |
leaveNode() | yii\twig\Optimizer |
Method Details
public void enterNode ( \Twig_NodeInterface $node, \Twig_Environment $env ) | ||
$node | ||
$env |
public void getPriority ( ) |
public void leaveNode ( \Twig_NodeInterface $node, \Twig_Environment $env ) | ||
$node | ||
$env |