Class yii\twig\Optimizer

Inheritanceyii\twig\Optimizer
ImplementsTwig_NodeVisitorInterface

Optimizer removes echo before special functions call and injects function name as an argument for the view helper calls.

Method Details

enterNode() public method

public void enterNode ( \Twig_NodeInterface $node, \Twig_Environment $env )
$node
$env
getPriority() public method

public void getPriority ( )
leaveNode() public method

public void leaveNode ( \Twig_NodeInterface $node, \Twig_Environment $env )
$node
$env