You are here

public function Twig_TokenParser_Spaceless::decideSpacelessEnd in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/TokenParser/Spaceless.php \Twig_TokenParser_Spaceless::decideSpacelessEnd()

File

vendor/twig/twig/lib/Twig/TokenParser/Spaceless.php, line 38

Class

Twig_TokenParser_Spaceless
Remove whitespaces between HTML tags.

Code

public function decideSpacelessEnd(Twig_Token $token) {
  return $token
    ->test('endspaceless');
}