Exemple #1
0
 /**
  * Sets the height unit size.
  *
  * @param string $heightUnit The height unit size.
  *
  * @throws \Ivory\GoogleMap\Exception\BaseException If the height unit is not valid.
  */
 public function setHeightUnit($heightUnit)
 {
     if (!is_string($heightUnit) && $heightUnit !== null) {
         throw BaseException::invalidSizeHeightUnit();
     }
     $this->heightUnit = $heightUnit;
 }