Interfaces, Classes, Traits and Enums
- domainNameInterface
Table of Contents
-
IDNA_2003
= 'IDNA_2003'
-
IDNA_2008
= 'IDNA_2008'
-
REGEXP_IDN_PATTERN
= '/[^\\x20-\\x7f]/'
-
REGEXP_REGISTERED_NAME
= '/(?(DEFINE)
(?<unreserved>[a-z0-9_~\\-])
(?<sub_delims>[!$&\'()*+,;=])
(?<encoded>%[A-F0-9]{2})
(?<reg_name>(?:(?&unreserved)|(?&sub_delims)|(?&encoded)){1,63})
)
^(?:(?®_name)\\.){0,126}(?®_name)\\.?$/ix'
-
REGEXP_URI_DELIMITERS
= '/[:\\/?#\\[\\]@ ]/'
-
$domain
: string|null
-
$labels
: array<string|int, mixed>
-
$type
: string
-
__set_state()
: self
-
append()
: self
-
clear()
: self
-
count()
: int
-
fromIDNA2003()
: self
-
fromIDNA2008()
: self
-
getIterator()
: Iterator
-
isAscii()
: bool
-
jsonSerialize()
: string|null
-
keys()
: array<string|int, mixed>
-
label()
: string|null
-
labels()
: array<string|int, mixed>
-
prepend()
: self
-
slice()
: self
-
toAscii()
: self
-
toString()
: string
-
toUnicode()
: self
-
value()
: string|null
-
withLabel()
: self
-
withoutLabel()
: self
-
__construct()
: mixed
-
domainToAscii()
: string
-
domainToUnicode()
: string
-
normalize()
: string|null
-
parseDomain()
: string|null
-
parseValue()
: string|null
IDNA_2003
private
mixed
IDNA_2003
= 'IDNA_2003'
IDNA_2008
private
mixed
IDNA_2008
= 'IDNA_2008'
REGEXP_IDN_PATTERN
private
mixed
REGEXP_IDN_PATTERN
= '/[^\\x20-\\x7f]/'
REGEXP_REGISTERED_NAME
private
mixed
REGEXP_REGISTERED_NAME
= '/(?(DEFINE)
(?<unreserved>[a-z0-9_~\\-])
(?<sub_delims>[!$&\'()*+,;=])
(?<encoded>%[A-F0-9]{2})
(?<reg_name>(?:(?&unreserved)|(?&sub_delims)|(?&encoded)){1,63})
)
^(?:(?®_name)\\.){0,126}(?®_name)\\.?$/ix'
REGEXP_URI_DELIMITERS
private
mixed
REGEXP_URI_DELIMITERS
= '/[:\\/?#\\[\\]@ ]/'
$domain
private
string|null
$domain
$labels
private
array<string|int, mixed>
$labels
$type
private
string
$type
__set_state()
public
static __set_state(array<string|int, mixed> $properties) : self
Parameters
-
$properties
: array<string|int, mixed>
-
Return values
self
—
append()
public
append(mixed $label) : self
Parameters
-
$label
: mixed
-
Return values
self
—
clear()
public
clear() : self
Return values
self
—
count()
public
count() : int
Return values
int
—
fromIDNA2003()
public
static fromIDNA2003(mixed $domain) : self
Parameters
-
$domain
: mixed
-
Return values
self
—
fromIDNA2008()
public
static fromIDNA2008(mixed $domain) : self
Parameters
-
$domain
: mixed
-
Return values
self
—
getIterator()
public
getIterator() : Iterator
Return values
Iterator
—
isAscii()
public
isAscii() : bool
Return values
bool
—
jsonSerialize()
public
jsonSerialize() : string|null
Return values
string|null
—
keys()
public
keys([string $label = null ]) : array<string|int, mixed>
Parameters
-
$label
: string
= null
-
Return values
array<string|int, mixed>
—
label()
public
label(int $key) : string|null
Parameters
-
$key
: int
-
Return values
string|null
—
labels()
public
labels() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
prepend()
public
prepend(mixed $label) : self
Parameters
-
$label
: mixed
-
Return values
self
—
slice()
public
slice(int $offset[, int $length = null ]) : self
Parameters
-
$offset
: int
-
-
$length
: int
= null
-
Return values
self
—
toAscii()
public
toAscii() : self
Return values
self
—
toString()
public
toString() : string
Return values
string
—
toUnicode()
public
toUnicode() : self
Return values
self
—
value()
public
value() : string|null
Return values
string|null
—
withLabel()
public
withLabel(int $key, mixed $label) : self
Parameters
-
$key
: int
-
-
$label
: mixed
-
Return values
self
—
withoutLabel()
public
withoutLabel(int $key, int ...$keys) : self
Parameters
-
$key
: int
-
-
$keys
: int
-
Return values
self
—
__construct()
private
__construct(string $type, mixed $domain) : mixed
Parameters
-
$type
: string
-
-
$domain
: mixed
-
Return values
mixed
—
domainToAscii()
private
domainToAscii(string $domain) : string
Parameters
-
$domain
: string
-
Return values
string
—
domainToUnicode()
private
domainToUnicode(string $domain) : string
Parameters
-
$domain
: string
-
Return values
string
—
normalize()
private
normalize(mixed $domain) : string|null
Parameters
-
$domain
: mixed
-
Return values
string|null
—
parseDomain()
private
parseDomain(mixed $domain) : string|null
Parameters
-
$domain
: mixed
-
Return values
string|null
—
parseValue()
private
parseValue(mixed $domain) : string|null
Parameters
-
$domain
: mixed
-
Return values
string|null
—