public function __construct($hostName, $sourceHostName, $mailAddress, $serial, $refreshInterval, $retryDelay, $expireTime, $minTtl, $ttl) { parent::__construct($hostName, RecordType::SOA, $ttl); $this->sourceHostName = $sourceHostName; $this->mailAddress = $mailAddress; $this->serial = $serial; $this->refreshInterval = $refreshInterval; $this->retryDelay = $retryDelay; $this->expireTime = $expireTime; $this->minTtl = $minTtl; }
public function __construct($hostName, $targetHostName, $ttl, $type = null) { parent::__construct($hostName, $type ? $type : RecordType::CNAME, $ttl); $this->_targetHostName = $targetHostName; }
public function __construct($hostName, $cpu, $os, $ttl) { parent::__construct($hostName, RecordType::HINFO, $ttl); $this->cpu = $cpu; $this->os = $os; }
public function __construct($hostName, Address $address, $ttl, $type = null) { parent::__construct($hostName, $type ? $type : RecordType::A, $ttl); $this->address = $address; }
public function __construct($hostName, $text, $ttl) { parent::__construct($hostName, RecordType::TXT, $ttl); $this->text = $text; }