Interfaces, Classes and Traits
- ConstExprNode
Table of Contents
-
DOUBLE_QUOTED
= 2
-
SINGLE_QUOTED
= 1
-
$quoteType
: self::SINGLE_QUOTED|self::DOUBLE_QUOTED
-
$value
: string
-
$attributes
: array<string, mixed>
-
__construct()
: mixed
-
__toString()
: string
-
getAttribute()
: mixed
-
hasAttribute()
: bool
-
setAttribute()
: void
-
escapeDoubleQuotedString()
: string
DOUBLE_QUOTED
public
mixed
DOUBLE_QUOTED
= 2
SINGLE_QUOTED
public
mixed
SINGLE_QUOTED
= 1
$quoteType
public
self::SINGLE_QUOTED|self::DOUBLE_QUOTED
$quoteType
$value
public
string
$value
$attributes
private
array<string, mixed>
$attributes
= []
__construct()
public
__construct(string $value, self::SINGLE_QUOTED|self::DOUBLE_QUOTED $quoteType) : mixed
Parameters
-
$value
: string
-
-
$quoteType
: self::SINGLE_QUOTED|self::DOUBLE_QUOTED
-
Return values
mixed
—
__toString()
public
__toString() : string
Return values
string
—
getAttribute()
public
getAttribute(string $key) : mixed
Parameters
-
$key
: string
-
Return values
mixed
—
hasAttribute()
public
hasAttribute(string $key) : bool
Parameters
-
$key
: string
-
Return values
bool
—
setAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
-
$key
: string
-
-
$value
: mixed
-
Return values
void
—
escapeDoubleQuotedString()
private
escapeDoubleQuotedString() : string
Return values
string
—