Token.php
Same filename in this branch
- 11.1.x vendor/doctrine/lexer/src/Token.php
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Token.php
- 11.1.x vendor/twig/twig/src/Token.php
- 11.1.x vendor/symfony/css-selector/Parser/Token.php
- 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Token.php
- 11.1.x core/lib/Drupal/Core/Render/Element/Token.php
- 11.1.x core/lib/Drupal/Core/Utility/Token.php
Namespace
TheSeer\TokenizerFile
-
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 |