src/AdvanceEventEmitterTrait.php
public function removeListeners(string $eventName = null) : self
    {
        if (null !== $eventName) {
            unset($this->listeners[$eventName]);
        } else {
            $this->listeners = [];
        }

        return $this;
    }
public function removeListeners(string $eventName = null) : self
    {
        if (null !== $eventName) {
            unset($this->listeners[$eventName]);
        } else {
            $this->listeners = [];
        }

        return $this;
    }
@param string $eventName

@return $this