You are here

public function Twig_TokenStream::__toString in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/twig/twig/lib/Twig/TokenStream.php \Twig_TokenStream::__toString()

Returns a string representation of the token stream.

Return value

string

File

vendor/twig/twig/lib/Twig/TokenStream.php, line 41

Class

Twig_TokenStream
Represents a token stream.

Code

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