PHP_Token_XHP_TEXT
extends PHP_Token
in package
A PHP token.
Table of Contents
- $id : int
- $line : int
- $text : string
- $tokenStream : PHP_Token_Stream
- __construct() : mixed
- Constructor.
- __toString() : string
- getLine() : int
Properties
$id
protected
int
$id
$line
protected
int
$line
$text
protected
string
$text
$tokenStream
protected
PHP_Token_Stream
$tokenStream
Methods
__construct()
Constructor.
public
__construct(string $text, int $line, PHP_Token_Stream $tokenStream, int $id) : mixed
Parameters
- $text : string
- $line : int
- $tokenStream : PHP_Token_Stream
- $id : int
Return values
mixed —__toString()
public
__toString() : string
Return values
string —getLine()
public
getLine() : int