public function eventTriggered($event)
    {
        $event = $this->normalizeEvent($event);

        foreach ($this->triggeredEvents as $triggeredEvent) {
            if ($event == $triggeredEvent || is_subclass_of($event, $triggeredEvent)) {
                return true;
            }
        }

        return false;
    }
public function eventTriggered($event)
    {
        $event = $this->normalizeEvent($event);

        foreach ($this->triggeredEvents as $triggeredEvent) {
            if ($event == $triggeredEvent || is_subclass_of($event, $triggeredEvent)) {
                return true;
            }
        }

        return false;
    }
public function eventTriggered ( $ event ) { $ event = $ this -> normalizeEvent ( $ event ) ; foreach ( $ this -> triggeredEvents as $ triggeredEvent ) { if ( $ event == $ triggeredEvent || is_subclass_of ( $ event , $ triggeredEvent ) ) { return true ; } } return false ; }
Did an event trigger?

@param $event
@return bool
Did an event trigger?