yii\twig\Optimizer - Yii2 类参考手册
Class yii\twig\Optimizer
全部
| 方法 Methods
| Inheritance | yii\twig\Optimizer |
|---|---|
| Implements | Twig\NodeVisitor\NodeVisitorInterface |
Optimizer removes echo before special functions call and injects function name as an argument for the view helper calls.
Public Methods
隐藏继承的方法 Hide inherited methods
| 方法 Method | 简介 Description | 定义在 Defined By |
|---|---|---|
| enterNode() | yii\twig\Optimizer | |
| getPriority() | yii\twig\Optimizer | |
| leaveNode() | yii\twig\Optimizer |
方法详情 Method Details
| public void enterNode ( \Twig\Node\Node $node, \Twig\Environment $env ) | ||
| $node | ||
| $env | ||
| public void getPriority ( ) |
| public void leaveNode ( \Twig\Node\Node $node, \Twig\Environment $env ) | ||
| $node | ||
| $env | ||