public function Twig_Token::__toString in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/Token.php \Twig_Token::__toString()
Returns a string representation of the token.
Return value
string A string representation of the token
File
- vendor/
twig/ twig/ lib/ Twig/ Token.php, line 57
Class
- Twig_Token
- Represents a Token.
Code
public function __toString() {
return sprintf('%s(%s)', self::typeToString($this->type, true), $this->value);
}