You are here

public function Twig_TokenParser_AutoEscape::decideBlockEnd in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php \Twig_TokenParser_AutoEscape::decideBlockEnd()

File

vendor/twig/twig/lib/Twig/TokenParser/AutoEscape.php, line 70

Class

Twig_TokenParser_AutoEscape
Marks a section of a template to be escaped or not.

Code

public function decideBlockEnd(Twig_Token $token) {
  return $token
    ->test('endautoescape');
}