Completed
Pull Request — master (#67)
by
unknown
01:33
created

Future::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
namespace AfriCC\EPP\Extension\NASK\Report;
3
4
use AfriCC\EPP\Extension\NASK\Report;
5
6
class Future extends Report
7
{
8
    /**
9
     * Init Futures report frame
10
     */
11
    public function __construct()
12
    {
13
        parent::__construct();
14
        $this->set('extreport:future');
15
    }
16
17
    /**
18
     * Set expiry date of Future elements to report about
19
     *
20
     * Do not use this function if intended report is to be about all Future objects.
21
     *
22
     * @param string $exDate Expiry date of future in proper format
23
     */
24
    public function setExDate($exDate)
25
    {
26
        $this->set('extreport:future/extreport:exDate', $exDate);
27
    }
28
}
29
30