Metaregistrar\EPP\eppInfoDomainResponse::getDomainHosts PHP Метод

getDomainHosts() публичный Метод

These must not be confused with the attached host objects. Subordinate host objects are nameservers that end with the same string as the domain name. They do not have to be connected to this domain name
public getDomainHosts ( ) : array
Результат array of eppHost
    public function getDomainHosts()
    {
        $ns = null;
        $xpath = $this->xPath();
        $result = $xpath->query('/epp:epp/epp:response/epp:resData/domain:infData/domain:host');
        foreach ($result as $host) {
            $ns[] = new eppHost($host->nodeValue);
        }
        return $ns;
    }