public function setStatus($status)
    {
        if (!in_array($status, GeocoderStatus::getGeocoderStatus())) {
            throw GeocodingException::invalidGeocoderResponseStatus();
        }

        $this->status = $status;
    }
public function setStatus($status)
    {
        if (!in_array($status, GeocoderStatus::getGeocoderStatus())) {
            throw GeocodingException::invalidGeocoderResponseStatus();
        }

        $this->status = $status;
    }
public function setStatus ( $ status ) { if ( ! in_array ( $ status , GeocoderStatus :: getGeocoderStatus ( ) ) ) { throw GeocodingException :: invalidGeocoderResponseStatus ( ) ; } $ this -> status = $ status ; }
Sets the geocoder results status.

@param string $status The geocoder result status.

@throws \Ivory\GoogleMap\Exception\GeocodingException If the status is not valid.
Sets the geocoder results status .