Completed
Push — master ( 3b3aeb...14bab3 )
by
unknown
01:16
created

Domain::getExtensionNamespace()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace AfriCC\EPP\Extension\NASK\Renew;
4
5
use AfriCC\EPP\ExtensionInterface;
6
use AfriCC\EPP\Frame\Command\Renew\Domain as DomainRenew;
7
8
class Domain extends DomainRenew implements ExtensionInterface
9
{
10
    protected $extension = 'extdom';
11
12
    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extdom-2.0';
13
14
    public function getExtensionNamespace()
15
    {
16
        return $this->extension_xmlns;
17
    }
18
19
    public function setReactivate()
20
    {
21
        $this->set('//epp:epp/epp:command/epp:extension/extdom:renew/extdom:reactivate');
22
    }
23
24
    public function setRenewToDate($date)
25
    {
26
        $this->set('//epp:epp/epp:command/epp:extension/extdom:renew/extdom:renewToDate', $date);
27
    }
28
}
29