Version 5.0.0 beta 1

This commit is contained in:
Neo committed 2025-12-19 16:27:35 -08:00
1 parent 25ddeb65d6
commit 15c7beabc5
6736 files changed
+627902 -497943

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
<?php
declare(strict_types=1);
namespace Pdp;
interface EffectiveTopLevelDomain extends Host, DomainNameProvider
{
/**
* Tells whether the effective TLD has a matching rule in a Public Suffix List.
*/
public function isKnown(): bool;
/**
* Tells whether the effective TLD has a matching rule in the IANA Top Level Domain List.
*/
public function isIANA(): bool;
/**
* Tells whether the effective TLD has a matching rule in the Public Suffix List.
*/
public function isPublicSuffix(): bool;
/**
* Tells whether the effective TLD has a matching rule in a Public Suffix List ICANN Section.
*/
public function isICANN(): bool;
/**
* Tells whether the effective TLD has a matching rule in a Public Suffix List Private Section.
*/
public function isPrivate(): bool;
/**
* Returns an instance with the public suffix normalize to the submitted domain encoding algorithm.
*
* This method MUST retain the state of the current instance, and return
* an instance that contains the same domain information normalize against the submitted domainName
*/
public function normalize(DomainName $domain): self;
}