We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba95123 commit 5012065Copy full SHA for 5012065
Protocols/EPP/eppExtensions/dns-ext-1.0/eppResponses/metaregInfoDnsResponse.php
@@ -10,13 +10,21 @@ class metaregInfoDnsResponse extends eppResponse {
10
*/
11
public function getName() {
12
$xpath = $this->xPath();
13
- $test= $xpath->query(self::RESPONSE_BASEXPATH . '/dns-ext:name');
+ $test = $xpath->query(self::RESPONSE_BASEXPATH . '/dns-ext:name');
14
if ($test->length>0) {
15
return $test->item(0)->textContent;
16
}
17
return null;
18
19
20
+ public function getPremium() {
21
+ $xpath = $this->xPath();
22
+ $test = $xpath->query(self::RESPONSE_BASEXPATH . '/dns-ext:premium');
23
+ if ($test->length>0) {
24
+ return $test->item(0)->textContent;
25
+ }
26
+ return null;
27
28
/**
29
* @return array
30
0 commit comments