src/Router/PluginManagerRouter.php
public function map(Envelope $envelope)
    {
        if (!$this->consumerPluginManager->has($envelope->getName())) {
            throw new ReceiverNotFoundException(sprintf('Could not find the received for %s ', $envelope->getName()));
        }

        return $this->consumerPluginManager->get($envelope->getName());
    }
public function map(Envelope $envelope)
    {
        if (!$this->consumerPluginManager->has($envelope->getName())) {
            throw new ReceiverNotFoundException(sprintf('Could not find the received for %s ', $envelope->getName()));
        }

        return $this->consumerPluginManager->get($envelope->getName());
    }
{@inheritdoc}