Class RegisteredDomain
Determine the registrable domain portion of a URL, respecting the public suffix list conventions
Methods | ||
---|---|---|
public
|
__construct(PublicSuffixList|null $psl = null)
|
# |
protected
|
normalizeHost(string $url): string
|
# |
protected
|
convertPunycode(string $part): string
|
# |
protected
|
decodePunycode(string $encoded): string
|
# |
public
|
getRegisteredDomain(string $host): string|null
|
# |
protected
|
findRegisteredDomain(string[] $remainingSigningDomainParts, string[] &$treeNode): null|string
|
# |
Properties | |||
---|---|---|---|
protected
|
|
$tree
|
# |
protected
|
|
$psl
|
# |