Twig_Token::typeToString
Returns the constant representation (internal) of a given type.
Signature
public function typeToString(integer
$type,
[Boolean
$short = false,
[integer
$line = 1]] )
Parameters
$type
— integer- The type as an integer
$short
— object- Whether to return a short representation or not
$line
— integer- The code line
Returns
- string
- The string representation