public function Twig_Token::__toString in Translation template extractor 7.3
Same name and namespace in other branches
- 6.3 vendor/Twig/Token.php \Twig_Token::__toString()
- 7.2 vendor/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/ 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);
}