public function Twig_TokenParser_If::decideIfFork in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/TokenParser/If.php \Twig_TokenParser_If::decideIfFork()
File
- vendor/
twig/ twig/ lib/ Twig/ TokenParser/ If.php, line 68
Class
- Twig_TokenParser_If
- Tests a condition.
Code
public function decideIfFork(Twig_Token $token) {
return $token
->test(array(
'elseif',
'else',
'endif',
));
}