public function Twig_TokenParser_For::decideForFork in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/TokenParser/For.php \Twig_TokenParser_For::decideForFork()
File
- vendor/
Twig/ TokenParser/ For.php, line 75
Class
- Twig_TokenParser_For
- Loops over each item of a sequence.
Code
public function decideForFork(Twig_Token $token) {
return $token
->test(array(
'else',
'endfor',
));
}