src/Overlays/InfoWindow.php
public function setOpenEvent($openEvent)
    {
        if (!in_array($openEvent, MouseEvent::getMouseEvents())) {
            throw OverlayException::invalidInfoWindowOpenEvent();
        }

        $this->openEvent = $openEvent;
    }
public function setOpenEvent($openEvent)
    {
        if (!in_array($openEvent, MouseEvent::getMouseEvents())) {
            throw OverlayException::invalidInfoWindowOpenEvent();
        }

        $this->openEvent = $openEvent;
    }
Sets the info window open event.

@param string $openEvent The info window open event.

@throws \Ivory\GoogleMap\Exception\OverlayException If the open event is not valid.