Completed
Pull Request — master (#84)
by
unknown
01:34 queued 11s
created

Report   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setOffset() 0 4 1
A setLimit() 0 4 1
1
<?php
2
3
namespace AfriCC\EPP\Extension\NASK;
4
5
use AfriCC\EPP\Extension;
6
use AfriCC\EPP\ExtensionInterface;
7
8
class Report extends Extension implements ExtensionInterface
9
{
10
    protected $ignore_command = true;
11
    protected $command = 'report';
12
    protected $mapping = 'extreport';
13
    protected $extension = 'extreport';
14
    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extreport-2.0';
15
16
    public function setOffset($offset)
17
    {
18
        $this->set('extreport:offset', $offset);
19
    }
20
21
    public function setLimit($limit)
22
    {
23
        $this->set('extreport:limit', $limit);
24
    }
25
}
26