You are here

public function Twig_TokenParser_Macro::decideBlockEnd in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/TokenParser/Macro.php \Twig_TokenParser_Macro::decideBlockEnd()

File

vendor/Twig/TokenParser/Macro.php, line 47

Class

Twig_TokenParser_Macro
Defines a macro.

Code

public function decideBlockEnd(Twig_Token $token) {
  return $token
    ->test('endmacro');
}