feat: add IANA fields for accredited registrars

This commit is contained in:
Maël Gangloff
2025-09-10 21:35:43 +02:00
parent f9ae2ac5e1
commit 28fb5f2fc3
6 changed files with 207 additions and 18 deletions

View File

@@ -115,12 +115,13 @@ class Tld
public function getTld(): ?string
{
return '' === $this->tld ? '.' : $this->tld;
return $this->tld;
}
public function setTld(string $tld): static
{
$this->tld = RDAPService::convertToIdn($tld);
if($this->tld === '') $this->tld = '.';
return $this;
}