Event.php
public static function removeAllListeners(string $event) : void
    {
        if (Event::hasListeners($event)) {
            unset(Event::$listeners[$event]);
        }
    }
public static function removeAllListeners(string $event) : void
    {
        if (Event::hasListeners($event)) {
            unset(Event::$listeners[$event]);
        }
    }
public static function removeAllListeners ( string $ event ) : void { if ( Event :: hasListeners ( $ event ) ) { unset ( Event :: $ listeners [ $ event ] ) ; } }
Remove all listeners for current event.

Event::removeAllListeners('event_name');

@access public
@param  string  $event Event name
@return void
Remove all listeners for current event .