You are here

public function Twig_TokenStream::__toString in Translation template extractor 7.2

Same name and namespace in other branches
  1. 6.3 vendor/Twig/TokenStream.php \Twig_TokenStream::__toString()
  2. 7.3 vendor/Twig/TokenStream.php \Twig_TokenStream::__toString()

Returns a string representation of the token stream.

Return value

string

File

vendor/Twig/TokenStream.php, line 42

Class

Twig_TokenStream
Represents a token stream.

Code

public function __toString() {
  return implode("\n", $this->tokens);
}