Files
IPB/system/3rd_party/Pdp/DomainNameResolver.php
2025-12-19 16:27:35 -08:00

17 lines
443 B
PHP

<?php
declare(strict_types=1);
namespace Pdp;
interface DomainNameResolver
{
/**
* Returns the effective TLD info for a given domain against an data source.
*
* If the effective TLD can not be resolved it returns a ResolvedDomainName with a null suffix
* If the host is not a valid domain it returns a ResolvedDomainName with a null Domain name
*/
public function resolve(Host $host): ResolvedDomainName;
}