PHP_Token_REQUIRE_ONCE
extends PHP_Token_Includes
in package
A PHP token.
Table of Contents
- $id : int
- $line : int
- $name : string
- $text : string
- $tokenStream : PHP_Token_Stream
- $type : string
- __construct() : mixed
- Constructor.
- __toString() : string
- getLine() : int
- getName() : string
- getType() : string
- process() : mixed
Properties
$id
protected
int
$id
$line
protected
int
$line
$name
protected
string
$name
$text
protected
string
$text
$tokenStream
protected
PHP_Token_Stream
$tokenStream
$type
protected
string
$type
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
Return values
int —getName()
public
getName() : string
Return values
string —getType()
public
getType() : string
Return values
string —process()
private
process() : mixed