public function PHP_Token::__construct

Constructor.

Parameters

string $text:

integer $line:

PHP_Token_Stream $tokenStream:

integer $id:

File

drupal/core/vendor/phpunit/php-token-stream/PHP/Token.php, line 84

Class

PHP_Token
A PHP token.

Code

public function __construct($text, $line, PHP_Token_Stream $tokenStream, $id) {
  $this->text = $text;
  $this->line = $line;
  $this->tokenStream = $tokenStream;
  $this->id = $id;
}