src/BDK/AsyncEventDispatcher/AsyncEventDispatcher.php
public function removeDriver(AsyncEventDriverInterface $driver, $eventName = null)
    {
        unset($this->drivers[$driver->getName()]);
        if (null === $eventName) {
            foreach ($this->events as $eventName => $currentDriver) {
                unset($this->events[$eventName][$driver->getName()]);
            }
        }
        unset($this->events[$eventName][$driver->getName()]);
    }
public function removeDriver(AsyncEventDriverInterface $driver, $eventName = null)
    {
        unset($this->drivers[$driver->getName()]);
        if (null === $eventName) {
            foreach ($this->events as $eventName => $currentDriver) {
                unset($this->events[$eventName][$driver->getName()]);
            }
        }
        unset($this->events[$eventName][$driver->getName()]);
    }
{@inherit}