You are here

public function Twig_TokenParser_Filter::decideBlockEnd in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenParser/Filter.php \Twig_TokenParser_Filter::decideBlockEnd()

File

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

Class

Twig_TokenParser_Filter
Filters a section of a template by applying filters.

Code

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