You are here

public function Twig_TokenParser_Spaceless::decideSpacelessEnd in Translation template extractor 6.3

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

File

vendor/Twig/TokenParser/Spaceless.php, line 45

Class

Twig_TokenParser_Spaceless
Remove whitespaces between HTML tags.

Code

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