Interfaces, Classes, Traits and Enums
- effectiveTopLevelDomainInterface
Table of Contents
-
IANA
= 'IANA'
-
ICANN
= 'ICANN'
-
PRIVATE
= 'PRIVATE'
-
$domain
: domainNameInterface
-
$section
: string
-
__set_state()
: self
-
count()
: int
-
domain()
: domainNameInterface
-
fromIANA()
: self
-
fromICANN()
: self
-
fromPrivate()
: self
-
fromUnknown()
: self
-
isIANA()
: bool
-
isICANN()
: bool
-
isKnown()
: bool
-
isPrivate()
: bool
-
isPublicSuffix()
: bool
-
jsonSerialize()
: string|null
-
normalize()
: self
-
toAscii()
: self
-
toString()
: string
-
toUnicode()
: self
-
value()
: string|null
-
__construct()
: mixed
-
setDomainName()
: domainNameInterface
IANA
private
mixed
IANA
= 'IANA'
ICANN
private
mixed
ICANN
= 'ICANN'
PRIVATE
private
mixed
PRIVATE
= 'PRIVATE'
__set_state()
public
static __set_state(array<string|int, mixed> $properties) : self
Parameters
-
$properties
: array<string|int, mixed>
-
Return values
self
—
count()
public
count() : int
Return values
int
—
domain()
public
domain() : domainNameInterface
Return values
domainNameInterface
—
fromIANA()
public
static fromIANA(mixed $domain) : self
Parameters
-
$domain
: mixed
-
Return values
self
—
fromICANN()
public
static fromICANN(mixed $domain) : self
Parameters
-
$domain
: mixed
-
Return values
self
—
fromPrivate()
public
static fromPrivate(mixed $domain) : self
Parameters
-
$domain
: mixed
-
Return values
self
—
fromUnknown()
public
static fromUnknown(mixed $domain) : self
Parameters
-
$domain
: mixed
-
Return values
self
—
isIANA()
public
isIANA() : bool
Return values
bool
—
isICANN()
public
isICANN() : bool
Return values
bool
—
isKnown()
public
isKnown() : bool
Return values
bool
—
isPrivate()
public
isPrivate() : bool
Return values
bool
—
isPublicSuffix()
public
isPublicSuffix() : bool
Return values
bool
—
jsonSerialize()
public
jsonSerialize() : string|null
Return values
string|null
—
normalize()
public
normalize(domainNameInterface $domain) : self
Parameters
-
$domain
: domainNameInterface
-
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
—
__construct()
private
__construct(domainNameInterface $domain, string $section) : mixed
Parameters
-
$domain
: domainNameInterface
-
-
$section
: string
-
Return values
mixed
—
setDomainName()
private
static setDomainName(mixed $domain) : domainNameInterface
Parameters
-
$domain
: mixed
-
Return values
domainNameInterface
—