| Total Complexity | 16 |
| Total Lines | 128 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ListItemContact |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | private $company; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | private $address1; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $address2; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $city; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var string |
||
| 31 | */ |
||
| 32 | private $state; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @var string |
||
| 36 | */ |
||
| 37 | private $zip; |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | private $country; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var string |
||
| 46 | */ |
||
| 47 | private $phone; |
||
| 48 | |||
| 49 | public function getCompany(): string |
||
| 50 | { |
||
| 51 | return $this->company; |
||
| 52 | } |
||
| 53 | |||
| 54 | public function setCompany(string $company): ListItemContact |
||
| 55 | { |
||
| 56 | $this->company = $company; |
||
| 57 | return $this; |
||
| 58 | } |
||
| 59 | |||
| 60 | public function getAddress1(): string |
||
| 61 | { |
||
| 62 | return $this->address1; |
||
| 63 | } |
||
| 64 | |||
| 65 | public function setAddress1(string $address1): ListItemContact |
||
| 69 | } |
||
| 70 | |||
| 71 | public function getAddress2(): string |
||
| 72 | { |
||
| 73 | return $this->address2; |
||
| 74 | } |
||
| 75 | |||
| 76 | public function setAddress2(string $address2): ListItemContact |
||
| 77 | { |
||
| 78 | $this->address2 = $address2; |
||
| 79 | return $this; |
||
| 80 | } |
||
| 81 | |||
| 82 | public function getCity(): string |
||
| 83 | { |
||
| 84 | return $this->city; |
||
| 85 | } |
||
| 86 | |||
| 87 | public function setCity(string $city): ListItemContact |
||
| 88 | { |
||
| 89 | $this->city = $city; |
||
| 90 | return $this; |
||
| 91 | } |
||
| 92 | |||
| 93 | public function getState(): string |
||
| 94 | { |
||
| 95 | return $this->state; |
||
| 96 | } |
||
| 97 | |||
| 98 | public function setState(string $state): ListItemContact |
||
| 99 | { |
||
| 100 | $this->state = $state; |
||
| 101 | return $this; |
||
| 102 | } |
||
| 103 | |||
| 104 | public function getZip(): string |
||
| 107 | } |
||
| 108 | |||
| 109 | public function setZip(string $zip): ListItemContact |
||
| 110 | { |
||
| 111 | $this->zip = $zip; |
||
| 112 | return $this; |
||
| 113 | } |
||
| 114 | |||
| 115 | public function getCountry(): string |
||
| 116 | { |
||
| 117 | return $this->country; |
||
| 118 | } |
||
| 119 | |||
| 120 | public function setCountry(string $country): ListItemContact |
||
| 121 | { |
||
| 122 | $this->country = $country; |
||
| 123 | return $this; |
||
| 124 | } |
||
| 125 | |||
| 126 | public function getPhone(): string |
||
| 127 | { |
||
| 128 | return $this->phone; |
||
| 129 | } |
||
| 130 | |||
| 131 | public function setPhone(string $phone): ListItemContact |
||
| 135 | } |
||
| 136 | } |
||
| 137 |