src/Viserio/Component/Events/EventManager.php
public function clearListeners(string $eventName): void
    {
        $this->validateEventName($eventName);

        unset($this->listeners[$eventName], $this->syncedEvents[$eventName]);
    }
public function clearListeners(string $eventName): void
    {
        $this->validateEventName($eventName);

        unset($this->listeners[$eventName], $this->syncedEvents[$eventName]);
    }
{@inheritdoc}