Class yii\twig\html\HtmlHelperExtension

Inheritanceyii\twig\html\HtmlHelperExtension » Twig_Extension
ImplementsTwig_Extension_GlobalsInterface
Source Code https://github.com/yiisoft/yii2-twig/blob/master/src/html/HtmlHelperExtension.php

Method Details

Hide inherited methods

getGlobals() public method

public void getGlobals ( )

                public function getGlobals()
{
    return [
        'html' => new ViewRendererStaticClassProxy('\yii\helpers\Html'),
    ];
}

            
getTokenParsers() public method

public void getTokenParsers ( )

                public function getTokenParsers()
{
    return [
        new CssClass_TokenParser(),
        new CssStyle_TokenParser()
    ];
}