Nextras\Forms\Bridges\Latte\Macros\BaseInputMacros::install PHP Метод

install() публичный статический Метод

public static install ( Compiler $compiler )
$compiler Latte\Compiler
    public static function install(Compiler $compiler)
    {
        $me = new static($compiler);
        $me->addMacro('input', [$me, 'macroInput']);
        $me->addMacro('label', [$me, 'macroLabel'], [$me, 'macroLabelEnd']);
        return $me;
    }