GDS\Mapper\RESTv1::extractGeopointValue PHP Méthode

extractGeopointValue() protected méthode

Extract a Geopoint value
protected extractGeopointValue ( $obj_property ) : Geopoint
$obj_property
Résultat GDS\Property\Geopoint
    protected function extractGeopointValue($obj_property)
    {
        return new Geopoint($obj_property->geoPointValue->latitude, $obj_property->geoPointValue->longitude);
    }