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

Report::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;
4
5
use AfriCC\EPP\Extension;
6
use AfriCC\EPP\ExtensionInterface;
7
use AfriCC\EPP\ExtensionTrait;
8
9
class Report extends Extension implements ExtensionInterface
10
{
11
    use ExtensionTrait;
12
13
    protected $ignore_command = true;
14
    protected $command = 'report';
15
    protected $mapping = 'extreport';
16
    protected $extension = 'extreport';
17
    protected $extension_xmlns = 'http://www.dns.pl/nask-epp-schema/extreport-2.0';
18
19
    public function setOffset($offset)
20
    {
21
        $this->set('extreport:offset', $offset);
22
    }
23
24
    public function setLimit($limit)
25
    {
26
        $this->set('extreport:limit', $limit);
27
    }
28
}
29