public function Twig_TokenStream::__toString

Returns a string representation of the token stream.

Return value

string

File

drupal/core/vendor/twig/twig/lib/Twig/TokenStream.php, line 43

Class

Twig_TokenStream
Represents a token stream.

Code

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