src/Services/Geocoding/GeocoderProvider.php
protected function buildGeocoderResponse(\stdClass $geocoderResponse)
    {
        $results = array();
        foreach ($geocoderResponse->results as $geocoderResult) {
            $results[] = $this->buildGeocoderResult($geocoderResult);
        }

        $status = $geocoderResponse->status;

        return new GeocoderResponse($results, $status);
    }
protected function buildGeocoderResponse(\stdClass $geocoderResponse)
    {
        $results = array();
        foreach ($geocoderResponse->results as $geocoderResult) {
            $results[] = $this->buildGeocoderResult($geocoderResult);
        }

        $status = $geocoderResponse->status;

        return new GeocoderResponse($results, $status);
    }
Builds the geocoder results accordint to a normalized geocoding results.

@param \stdClass $geocoderResponse The normalized geocder response.

@return \Ivory\GoogleMap\Services\Geocoding\Result\GeocoderResponse The builded geocoder response.