| @@ 236-243 (lines=8) @@ | ||
| 233 | * |
|
| 234 | * @return AlternatePlaceId |
|
| 235 | */ |
|
| 236 | private function buildAlternativePlaceId(array $data) |
|
| 237 | { |
|
| 238 | $alternativePlaceId = new AlternatePlaceId(); |
|
| 239 | $alternativePlaceId->setPlaceId($data['place_id']); |
|
| 240 | $alternativePlaceId->setScope($data['scope']); |
|
| 241 | ||
| 242 | return $alternativePlaceId; |
|
| 243 | } |
|
| 244 | ||
| 245 | /** |
|
| 246 | * @param mixed[] $data |
|
| @@ 220-227 (lines=8) @@ | ||
| 217 | * |
|
| 218 | * @return AlternatePlaceId |
|
| 219 | */ |
|
| 220 | private function buildAlternativePlaceId(array $data) |
|
| 221 | { |
|
| 222 | $alternativePlaceId = new AlternatePlaceId(); |
|
| 223 | $alternativePlaceId->setPlaceId($data['place_id']); |
|
| 224 | $alternativePlaceId->setScope($data['scope']); |
|
| 225 | ||
| 226 | return $alternativePlaceId; |
|
| 227 | } |
|
| 228 | ||
| 229 | /** |
|
| 230 | * @param mixed[] $data |
|