public function offsetSet($offset, $value)
{
if (0 === $offset) {
$this->setLatitude($value);
return;
}
if (1 === $offset) {
$this->setLongitude($value);
return;
}
throw new \UnexpectedValueException("Cannot set Geopoint data with offset [{$offset}]");
}