public function Twig_Token::__construct in Translation template extractor 7.2
Same name and namespace in other branches
- 6.3 vendor/Twig/Token.php \Twig_Token::__construct()
- 7.3 vendor/Twig/Token.php \Twig_Token::__construct()
Constructor.
Parameters
integer $type The type of the token:
string $value The token value:
integer $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;
}