1 | <?php |
||
65 | trait AddressMutatorTrait |
||
66 | { |
||
67 | /** |
||
68 | * Initialize a postal address |
||
69 | * |
||
70 | * @param ObjectInterface $object Object |
||
71 | */ |
||
72 | 1 | protected function initializeAddress(ObjectInterface $object) |
|
83 | |||
84 | /** |
||
85 | * Set an embedded apparat address |
||
86 | * |
||
87 | * @param ObjectInterface $object Contact |
||
88 | * @return ObjectInterface $object Contact |
||
89 | */ |
||
90 | protected function setAdr(ObjectInterface $object) |
||
94 | |||
95 | /** |
||
96 | * Set the post office box |
||
97 | * |
||
98 | * @param ObjectInterface $object Contact |
||
99 | * @return ObjectInterface $object Contact |
||
100 | */ |
||
101 | protected function setPostOfficeBox(ObjectInterface $object) |
||
105 | |||
106 | /** |
||
107 | * Set the extended address |
||
108 | * |
||
109 | * @param ObjectInterface $object Contact |
||
110 | * @return ObjectInterface $object Contact |
||
111 | */ |
||
112 | 1 | protected function setExtendedAddress(ObjectInterface $object) |
|
116 | |||
117 | /** |
||
118 | * Set the street address |
||
119 | * |
||
120 | * @param ObjectInterface $object Contact |
||
121 | * @return ObjectInterface $object Contact |
||
122 | */ |
||
123 | 1 | protected function setStreetAddress(ObjectInterface $object) |
|
127 | |||
128 | /** |
||
129 | * Set the locality |
||
130 | * |
||
131 | * @param ObjectInterface $object Contact |
||
132 | * @return ObjectInterface $object Contact |
||
133 | */ |
||
134 | 1 | protected function setLocality(ObjectInterface $object) |
|
138 | |||
139 | /** |
||
140 | * Set the region |
||
141 | * |
||
142 | * @param ObjectInterface $object Contact |
||
143 | * @return ObjectInterface $object Contact |
||
144 | */ |
||
145 | 1 | protected function setRegion(ObjectInterface $object) |
|
149 | |||
150 | /** |
||
151 | * Set the postal code |
||
152 | * |
||
153 | * @param ObjectInterface $object Contact |
||
154 | * @return ObjectInterface $object Contact |
||
155 | */ |
||
156 | 1 | protected function setPostalCode(ObjectInterface $object) |
|
160 | |||
161 | /** |
||
162 | * Set the postal code |
||
163 | * |
||
164 | * @param ObjectInterface $object Contact |
||
165 | * @return ObjectInterface $object Contact |
||
166 | */ |
||
167 | 1 | protected function setCountryName(ObjectInterface $object) |
|
171 | |||
172 | /** |
||
173 | * Set the label |
||
174 | * |
||
175 | * @param ObjectInterface $object Contact |
||
176 | * @return ObjectInterface $object Contact |
||
177 | */ |
||
178 | protected function setLabel(ObjectInterface $object) |
||
182 | |||
183 | /** |
||
184 | * Set the geo data |
||
185 | * |
||
186 | * @param ObjectInterface $object Contact |
||
187 | * @return ObjectInterface $object Contact |
||
188 | */ |
||
189 | 1 | protected function setGeo(ObjectInterface $object) |
|
204 | |||
205 | /** |
||
206 | * Set the latitude |
||
207 | * |
||
208 | * @param ObjectInterface $object Contact |
||
209 | * @return ObjectInterface $object Contact |
||
210 | */ |
||
211 | 1 | protected function setLatitude(ObjectInterface $object) |
|
215 | |||
216 | /** |
||
217 | * Set the longitude |
||
218 | * |
||
219 | * @param ObjectInterface $object Contact |
||
220 | * @return ObjectInterface $object Contact |
||
221 | */ |
||
222 | 1 | protected function setLongitude(ObjectInterface $object) |
|
226 | |||
227 | /** |
||
228 | * Set the altitude |
||
229 | * |
||
230 | * @param ObjectInterface $object Contact |
||
231 | * @return ObjectInterface $object Contact |
||
232 | */ |
||
233 | 1 | protected function setAltitude(ObjectInterface $object) |
|
237 | } |
||
238 |