Class Twig_TokenParser_Extends

InheritanceTwig_TokenParser_Extends » Twig_TokenParser
ImplementsTwig_TokenParserInterface

Extends a template by another one.

 {% extends "base.html" %}

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$parser Twig_Parser Twig_TokenParser

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getTag() Twig_TokenParser_Extends
parse() Twig_TokenParser_Extends
setParser() Sets the parser associated with this token parser. Twig_TokenParser

Method Details

getTag() public method

public void getTag ( )
parse() public method

public void parse ( Twig_Token $token )
$token