Completed
Pull Request — master (#84)
by
unknown
01:28
created

Domain   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 17
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A resendConfirmationRequest() 0 4 1
1
<?php
2
3
namespace AfriCC\EPP\Extension\NASK\Transfer;
4
5
use AfriCC\EPP\ExtensionInterface as Extension;
6
use AfriCC\EPP\Frame\Command\Transfer\Domain as DomainTransfer;
7
use AfriCC\EPP\ExtensionTrait;
8
9
class Domain extends DomainTransfer implements Extension
10
{
11
    use ExtensionTrait;
12
13
    protected $extension = 'extdom';
14
    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extdom-2.0';
15
16
    /**
17
     * Add resend confirmation request
18
     *
19
     * This element can only be applied on request frame with no period specified
20
     */
21
    public function resendConfirmationRequest()
22
    {
23
        $this->set('//epp:epp/epp:command/epp:extension/extdom:transfer/extdom:resendConfirmationRequest');
24
    }
25
}
26