/** * Sets the service HTTPS flag. * * @param boolean $https TRUE if the service uses HTTPS else FALSE. * * @throws \Ivory\GoogleMap\Exception\ServiceException If the https flag is not valid. */ public function setHttps($https) { if (!is_bool($https)) { throw ServiceException::invalidServiceHttps(); } $this->https = $https; }