public function Twig_Token::__toString

Returns a string representation of the token.

Return value

string A string representation of the token

File

drupal/core/vendor/twig/twig/lib/Twig/Token.php, line 58

Class

Twig_Token
Represents a Token.

Code

public function __toString() {
  return sprintf('%s(%s)', self::typeToString($this->type, true, $this->lineno), $this->value);
}