RegionData::setRegion()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Phrlog\Zvonok\Phone\Response\ValueObject;
4
5
class RegionData
6
{
7
    /**
8
     * @var string
9
     */
10
    public $firstCode;
11
12
    /**
13
     * @var string
14
     */
15
    public $operator;
16
17
    /**
18
     * @var int
19
     */
20
    public $region;
21
22
    /**
23
     * @var string
24
     */
25
    public $regionName;
26
27
    /**
28
     * @var string
29
     */
30
    public $timezone;
31
32
    /**
33
     * @var string
34
     */
35
    public $phoneType;
36
37
    /**
38
     * @var string
39
     */
40
    public $MNC;
41
42
    /**
43
     * @param string $firstCode
44
     */
45
    public function setFirstCode(string $firstCode): void
46
    {
47
        $this->firstCode = $firstCode;
48
    }
49
50
    /**
51
     * @param string $operator
52
     */
53
    public function setOperator(string $operator)
54
    {
55
        $this->operator = $operator;
56
57
    }
58
59
    /**
60
     * @param int $region
61
     */
62
    public function setRegion(int $region)
63
    {
64
        $this->region = $region;
65
    }
66
67
    /**
68
     * @param string $regionName
69
     */
70
    public function setRegionName(string $regionName)
71
    {
72
        $this->regionName = $regionName;
73
    }
74
75
    /**
76
     * @param string $timezone
77
     */
78
    public function setTimezone(string $timezone)
79
    {
80
        $this->timezone = $timezone;
81
    }
82
83
    /**
84
     * @param string $phoneType
85
     */
86
    public function setPhoneType(string $phoneType)
87
    {
88
        $this->phoneType = $phoneType;
89
    }
90
91
    /**
92
     * @param string $MNC
93
     */
94
    public function setMNC(string $MNC)
95
    {
96
        $this->MNC = $MNC;
97
    }
98
}
99