yxorP Documentation

suffix
in package
implements effectiveTopLevelDomainInterface

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

Constants

IANA

private mixed IANA = 'IANA'

ICANN

private mixed ICANN = 'ICANN'

PRIVATE

private mixed PRIVATE = 'PRIVATE'

Properties

$section

private string $section

Methods

__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

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

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

Search results