Documentation

Twig_TokenParser extends AbstractTokenParser
in package

Base class for all token parsers.

Tags
deprecated

since Twig 2.7, use "Twig\TokenParser\AbstractTokenParser" instead

Table of Contents

$parser  : Parser
setParser()  : mixed
Sets the parser associated with this token parser.

Properties

Methods

setParser()

Sets the parser associated with this token parser.

public setParser(Parser $parser) : mixed
Parameters
$parser : Parser
Return values
mixed

Search results