Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
<?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;
|
||||
}
|
||||
Reference in new issue
Block a user