public function addRoute(Route $route)
    {
        // get the specific path matcher for this route
        $pathMatcher = $this->getPathMatcherForRoute($route);

        $this->routes[] = [
            'pathMatcher' => $pathMatcher,
            'route' => $route
        ];
    }
public function addRoute(Route $route)
    {
        // get the specific path matcher for this route
        $pathMatcher = $this->getPathMatcherForRoute($route);

        $this->routes[] = [
            'pathMatcher' => $pathMatcher,
            'route' => $route
        ];
    }
{@inheritdoc}