Completed
Push — master ( a5a50f...1f5af2 )
by Laurent
01:49
created

MonthlyBillableQuery::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 2
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
/**
3
 *
4
 */
5
6
/**
7
 * @author Laurent De Coninck <[email protected]>
8
 */
9
class MonthlyBillableQuery
10
{
11
12
    /**
13
     * @var int
14
     */
15
    private $month;
16
17
    /**
18
     * @var int
19
     */
20
    private $year;
21
22
    /**
23
     * @param int $month
24
     * @param int $year
25
     */
26
    public function __construct($month, $year)
27
    {
28
        $this->month = $month;
29
        $this->year = $year;
30
    }
31
32
    /**
33
     * @return int
34
     */
35
    public function getMonth()
36
    {
37
        return $this->month;
38
    }
39
40
    /**
41
     * @return int
42
     */
43
    public function getYear()
44
    {
45
        return $this->year;
46
    }
47
}