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

Breadcrumb

  1. Drupal Core 11.1.x

Token.php

Same filename in this branch
  1. 11.1.x vendor/doctrine/lexer/src/Token.php
  2. 11.1.x vendor/nikic/php-parser/lib/PhpParser/Token.php
  3. 11.1.x vendor/twig/twig/src/Token.php
  4. 11.1.x vendor/symfony/css-selector/Parser/Token.php
  5. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Token.php
  6. 11.1.x core/lib/Drupal/Core/Render/Element/Token.php
  7. 11.1.x core/lib/Drupal/Core/Utility/Token.php

Namespace

TheSeer\Tokenizer

File

vendor/theseer/tokenizer/src/Token.php

View source
<?php

declare (strict_types=1);
namespace TheSeer\Tokenizer;

class Token {
    
    /** @var int */
    private $line;
    
    /** @var string */
    private $name;
    
    /** @var string */
    private $value;
    
    /**
     * Token constructor.
     */
    public function __construct(int $line, string $name, string $value) {
        $this->line = $line;
        $this->name = $name;
        $this->value = $value;
    }
    public function getLine() : int {
        return $this->line;
    }
    public function getName() : string {
        return $this->name;
    }
    public function getValue() : string {
        return $this->value;
    }

}

Classes

Title Deprecated Summary
Token

API Navigation

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