public function supportsEvent($eventId)
    {
        $supportedEvents = [WatcherInterface::CREATE_EVENT, WatcherInterface::MODIFY_EVENT, WatcherInterface::DELETE_EVENT, WatcherInterface::ALL_EVENT];
        return array_search($eventId, $supportedEvents, true) !== false;
    }
public function supportsEvent($eventId)
    {
        $supportedEvents = [WatcherInterface::CREATE_EVENT, WatcherInterface::MODIFY_EVENT, WatcherInterface::DELETE_EVENT, WatcherInterface::ALL_EVENT];
        return array_search($eventId, $supportedEvents, true) !== false;
    }
public function supportsEvent ( $ eventId ) { $ supportedEvents = [ WatcherInterface :: CREATE_EVENT , WatcherInterface :: MODIFY_EVENT , WatcherInterface :: DELETE_EVENT , WatcherInterface :: ALL_EVENT ] ; return array_search ( $ eventId , $ supportedEvents , true ) !== false ; }
See if the supplied event identifier is supported by Watcher

@param $eventId
See if the supplied event identifier is supported by Watcher