/** * Sets the width size. * * @param double $width The width size. * * @throws \Ivory\GoogleMap\Exception\BaseException If the width is not valid. */ public function setWidth($width) { if (!is_numeric($width)) { throw BaseException::invalidSizeWidth(); } $this->width = $width; }