public function Twig_Token::__construct in Translation template extractor 6.3
Same name and namespace in other branches
- 7.3 vendor/Twig/Token.php \Twig_Token::__construct()
- 7.2 vendor/Twig/Token.php \Twig_Token::__construct()
Constructor.
Parameters
int $type The type of the token:
string $value The token value:
int $lineno The line position in the source:
File
- vendor/
Twig/ Token.php, line 45
Class
- Twig_Token
- Represents a Token.
Code
public function __construct($type, $value, $lineno) {
$this->type = $type;
$this->value = $value;
$this->lineno = $lineno;
}