Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Token.php

function Token::__construct

Same name in this branch
  1. 11.1.x vendor/theseer/tokenizer/src/Token.php \TheSeer\Tokenizer\Token::__construct()
  2. 11.1.x vendor/twig/twig/src/Token.php \Twig\Token::__construct()
  3. 11.1.x vendor/symfony/css-selector/Parser/Token.php \Symfony\Component\CssSelector\Parser\Token::__construct()
  4. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Token.php \Peast\Syntax\Token::__construct()
  5. 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\Lexer

Code

public function __construct($value, $type, int $position) {
    $this->value = $value;
    $this->type = $type;
    $this->position = $position;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal