/**
  * Sets the service API url.
  *
  * @param string $url The service API url.
  *
  * @throws \Ivory\GoogleMap\Exception\ServiceException If the url is not valid.
  */
 public function setUrl($url)
 {
     if (!is_string($url)) {
         throw ServiceException::invalidServiceUrl();
     }
     $this->url = $url;
 }