You are here

public function Twig_TokenParser_If::decideIfEnd in Translation template extractor 7.3

Same name and namespace in other branches
  1. 6.3 vendor/Twig/TokenParser/If.php \Twig_TokenParser_If::decideIfEnd()

File

vendor/Twig/TokenParser/If.php, line 73

Class

Twig_TokenParser_If
Tests a condition.

Code

public function decideIfEnd(Twig_Token $token) {
  return $token
    ->test(array(
    'endif',
  ));
}