Table of Contents
Constants
-
DOUBLE_QUOTED
= 2
-
SINGLE_QUOTED
= 1
Properties
-
$quoteType
: self::SINGLE_QUOTED|self::DOUBLE_QUOTED
-
$value
: string
-
$attributes
: array<string, mixed>
Methods
-
__construct()
: mixed
-
__toString()
: string
-
getAttribute()
: mixed
-
hasAttribute()
: bool
-
setAttribute()
: void
-
unescape()
: string
-
escape()
: 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) : mixed
Parameters
-
$value
: string
-
__toString()
public
__toString() : string
getAttribute()
public
getAttribute(string $key) : mixed
Parameters
-
$key
: string
-
hasAttribute()
public
hasAttribute(string $key) : bool
Parameters
-
$key
: string
-
setAttribute()
public
setAttribute(string $key, mixed $value) : void
Parameters
-
$key
: string
-
-
$value
: mixed
-
unescape()
public
static unescape(string $value) : string
Parameters
-
$value
: string
-
escape()
private
static escape(string $value) : string
Parameters
-
$value
: string
-