function Token::__construct
Same name in this branch
- 11.1.x vendor/theseer/tokenizer/src/Token.php \TheSeer\Tokenizer\Token::__construct()
- 11.1.x vendor/twig/twig/src/Token.php \Twig\Token::__construct()
- 11.1.x vendor/symfony/css-selector/Parser/Token.php \Symfony\Component\CssSelector\Parser\Token::__construct()
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Token.php \Peast\Syntax\Token::__construct()
- 11.1.x core/lib/Drupal/Core/Utility/Token.php \Drupal\Core\Utility\Token::__construct()
Parameters
V $value:
T|null $type:
File
-
vendor/
doctrine/ lexer/ src/ Token.php, line 49
Class
- Token
- @template T of UnitEnum|string|int @template V of string|int @implements ArrayAccess<string,mixed>
Namespace
Doctrine\Common\LexerCode
public function __construct($value, $type, int $position) {
$this->value = $value;
$this->type = $type;
$this->position = $position;
}