Address::getAddressLine3()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Ptondereau\GoogleAddressConverter;
4
5
class Address
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $addressLine1;
11
12
    /**
13
     * @var string
14
     */
15
    protected $addressLine2;
16
17
    /**
18
     * @var string
19
     */
20
    protected $addressLine3;
21
22
    /**
23
     * @var string
24
     */
25
    protected $city;
26
27
    /**
28
     * @var string
29
     */
30
    protected $zipCode;
31
32
    /**
33
     * @var string
34
     */
35
    protected $country;
36
37
    /**
38
     * @return string
39
     */
40 12
    public function getAddressLine1()
41
    {
42 12
        return $this->addressLine1;
43
    }
44
45
    /**
46
     * @param string $addressLine1
47
     *
48
     * @return $this
49
     */
50 12
    public function setAddressLine1($addressLine1)
51
    {
52 12
        $this->addressLine1 = $addressLine1;
53
54 12
        return $this;
55
    }
56
57
    /**
58
     * @return string
59
     */
60 12
    public function getAddressLine2()
61
    {
62 12
        return $this->addressLine2;
63
    }
64
65
    /**
66
     * @param string $addressLine2
67
     *
68
     * @return $this
69
     */
70 12
    public function setAddressLine2($addressLine2)
71
    {
72 12
        $this->addressLine2 = $addressLine2;
73
74 12
        return $this;
75
    }
76
77
    /**
78
     * @return string
79
     */
80 12
    public function getAddressLine3()
81
    {
82 12
        return $this->addressLine3;
83
    }
84
85
    /**
86
     * @param string $addressLine3
87
     *
88
     * @return $this
89
     */
90 12
    public function setAddressLine3($addressLine3)
91
    {
92 12
        $this->addressLine3 = $addressLine3;
93
94 12
        return $this;
95
    }
96
97
    /**
98
     * @return string
99
     */
100 12
    public function getCity()
101
    {
102 12
        return $this->city;
103
    }
104
105
    /**
106
     * @param string $city
107
     *
108
     * @return $this
109
     */
110 12
    public function setCity($city)
111
    {
112 12
        $this->city = $city;
113
114 12
        return $this;
115
    }
116
117
    /**
118
     * @return string
119
     */
120 12
    public function getZipCode()
121
    {
122 12
        return $this->zipCode;
123
    }
124
125
    /**
126
     * @param string $zipCode
127
     *
128
     * @return $this
129
     */
130 12
    public function setZipCode($zipCode)
131
    {
132 12
        $this->zipCode = $zipCode;
133
134 12
        return $this;
135
    }
136
137
    /**
138
     * @return string
139
     */
140 12
    public function getCountry()
141
    {
142 12
        return $this->country;
143
    }
144
145
    /**
146
     * @param string $country
147
     *
148
     * @return $this
149
     */
150 6
    public function setCountry($country)
151
    {
152 6
        $this->country = $country;
153
154 6
        return $this;
155
    }
156
}
157