You are here

public function Twig_TokenParser_For::decideForEnd in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/TokenParser/For.php \Twig_TokenParser_For::decideForEnd()

File

vendor/twig/twig/lib/Twig/TokenParser/For.php, line 73

Class

Twig_TokenParser_For
Loops over each item of a sequence.

Code

public function decideForEnd(Twig_Token $token) {
  return $token
    ->test('endfor');
}