src/Viserio/Component/Routing/Route/Collection.php
public function add(RouteContract $route): RouteContract
    {
        $domainAndUri = $route->getDomain() . $route->getUri();

        $this->allRoutes[\implode('|', $route->getMethods()) . $domainAndUri] = $route;

        $this->addLookups($route);

        return $route;
    }
public function add(RouteContract $route): RouteContract
    {
        $domainAndUri = $route->getDomain() . $route->getUri();

        $this->allRoutes[\implode('|', $route->getMethods()) . $domainAndUri] = $route;

        $this->addLookups($route);

        return $route;
    }
{@inheritdoc}