Class Twig_TokenParser_From

InheritanceTwig_TokenParser_From » Twig_TokenParser
ImplementsTwig_TokenParserInterface

Imports macros.

  {% from 'forms.html' import forms %}

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$parser Twig_Parser Twig_TokenParser

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getTag() Twig_TokenParser_From
parse() Twig_TokenParser_From
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