You are here

public function Twig_TokenParser_If::decideIfEnd in Translation template extractor 6.3

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

File

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

Class

Twig_TokenParser_If
Tests a condition.

Code

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