GDS\Property\Geopoint::offsetUnset PHP Method

offsetUnset() public method

ArrayAccess
public offsetUnset ( mixed $offset )
$offset mixed
    public function offsetUnset($offset)
    {
        if (0 === $offset) {
            $this->setLatitude(0.0);
            return;
        }
        if (1 === $offset) {
            $this->setLongitude(0.0);
            return;
        }
        throw new \UnexpectedValueException("Cannot unset Geopoint data with offset [{$offset}]");
    }