You are here

public function Twig_TokenStream::__toString in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/TokenStream.php \Twig_TokenStream::__toString()
  2. 7.2 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);
}