Documentation

Twig_TokenParser_Extends extends ExtendsTokenParser
in package

Extends a template by another one.

Tags
deprecated

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

Table of Contents

$parser  : Parser
getTag()  : mixed
parse()  : mixed
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