Class Twig_TokenParser_Macro

InheritanceTwig_TokenParser_Macro » Twig_TokenParser
ImplementsTwig_TokenParserInterface

Defines a macro.

{% macro input(name, value, type, size) %}
   
{% endmacro %}

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$parser Twig_Parser Twig_TokenParser

Public Methods

Hide inherited methods

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

Method Details

decideBlockEnd() public method

public void decideBlockEnd ( Twig_Token $token )
$token
getTag() public method

public void getTag ( )
parse() public method

public void parse ( Twig_Token $token )
$token