src/Events.php
public function clearTriggers($eventNameOrClass)
    {
        if (isset($this->events[$eventNameOrClass])) {
            unset($this->events[$eventNameOrClass]);
        }

        return $this;
    }
public function clearTriggers($eventNameOrClass)
    {
        if (isset($this->events[$eventNameOrClass])) {
            unset($this->events[$eventNameOrClass]);
        }

        return $this;
    }
public function clearTriggers ( $ eventNameOrClass ) { if ( isset ( $ this -> events [ $ eventNameOrClass ] ) ) { unset ( $ this -> events [ $ eventNameOrClass ] ) ; } return $ this ; }
Clears all triggers for a given event.

@param string $eventNameOrClass The event name or class of event

@return Events
Clears all triggers for a given event .