public function __construct($hostName, $targetHostName, $priority, $ttl, $type = null) { parent::__construct($hostName, $targetHostName, $ttl, $type ? $type : RecordType::MX); $this->_priority = $priority; }
public function __construct($hostName, $targetHostName, $ttl) { parent::__construct($hostName, $targetHostName, $ttl, RecordType::PTR); }