App\Libraries\WatchRecord\WatchRecord::eventExists PHP Method

eventExists() protected method

Check if a given event name exists in the event array.
protected eventExists ( $event ) : boolean
$event string
return boolean
    protected function eventExists($event)
    {
        return in_array($event, $this->events, true);
    }