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

Breadcrumb

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

class Token

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

Hierarchy

  • class \TheSeer\Tokenizer\Token

Expanded class hierarchy of Token

15 string references to 'Token'
AbstractPatternSniff::createTokenPattern in vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractPatternSniff.php
Creates a token pattern.
AbstractPatternSniff::getPatternTokenTypes in vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractPatternSniff.php
Returns the token types that the specified pattern is checking for.
AbstractPatternSniff::processPattern in vendor/squizlabs/php_codesniffer/src/Sniffs/AbstractPatternSniff.php
Processes the pattern and verifies the code at $stackPtr.
BatchStorage::schemaDefinition in core/lib/Drupal/Core/Batch/BatchStorage.php
Defines the schema for the batch table.
ContentTranslationHandler::entityFormSharedElements in core/modules/content_translation/src/ContentTranslationHandler.php
Process callback: determines which elements get clue in the form.

... See full list

File

vendor/theseer/tokenizer/src/Token.php, line 4

Namespace

TheSeer\Tokenizer
View source
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;
    }

}

Members

Title Sort descending Modifiers Object type Summary
Token::$line private property @var int
Token::$name private property @var string
Token::$value private property @var string
Token::getLine public function
Token::getName public function
Token::getValue public function
Token::__construct public function Token constructor.

API Navigation

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