public function setDnsEntries($domainName, $dnsEntries)
    {
        foreach ($dnsEntries as $dnsEntry) {
            if (!$dnsEntry instanceof \Transip\Model\DnsEntry) {
                throw new \RuntimeException(sprintf('DnsEntry is not instance of %s', '\\Transip\\Model\\DnsEntry'));
            }
        }

        return $this->getSoapClient(array_merge(array($domainName, $dnsEntries), array('__method' => 'setDnsEntries')))->setDnsEntries($domainName, $dnsEntries);
    }
public function setDnsEntries($domainName, $dnsEntries)
    {
        foreach ($dnsEntries as $dnsEntry) {
            if (!$dnsEntry instanceof \Transip\Model\DnsEntry) {
                throw new \RuntimeException(sprintf('DnsEntry is not instance of %s', '\\Transip\\Model\\DnsEntry'));
            }
        }

        return $this->getSoapClient(array_merge(array($domainName, $dnsEntries), array('__method' => 'setDnsEntries')))->setDnsEntries($domainName, $dnsEntries);
    }
public function setDnsEntries ( $ domainName , $ dnsEntries ) { foreach ( $ dnsEntries as $ dnsEntry ) { if ( ! $ dnsEntry instanceof \ Transip \ Model \ DnsEntry ) { throw new \ RuntimeException ( sprintf ( 'DnsEntry is not instance of %s' , '\\Transip\\Model\\DnsEntry' ) ) ; } } return $ this -> getSoapClient ( array_merge ( array ( $ domainName , $ dnsEntries ) , array ( '__method' => 'setDnsEntries' ) ) ) -> setDnsEntries ( $ domainName , $ dnsEntries ) ; }
Sets the DnEntries for this Domain, will replace all existing dns entries with the new entries

@param string                    $domainName the domainName to change the dns entries for
@param \Transip\Model\DnsEntry[] $dnsEntries the list of new DnsEntries for this domain
@throws \RuntimeException
Sets the DnEntries for this Domain will replace all existing dns entries with the new entries