public function addRoute(RouteContract $route, array $parameterIndexNameMap): void
    {
        $this->httpMethodRouteMap[] = [$route->getMethods(), [$parameterIndexNameMap, $route->getIdentifier()]];
    }
public function addRoute(RouteContract $route, array $parameterIndexNameMap): void
    {
        $this->httpMethodRouteMap[] = [$route->getMethods(), [$parameterIndexNameMap, $route->getIdentifier()]];
    }
public function addRoute ( RouteContract $ route , array $ parameterIndexNameMap ) : void { $ this -> httpMethodRouteMap [ ] = [ $ route -> getMethods ( ) , [ $ parameterIndexNameMap , $ route -> getIdentifier ( ) ] ] ; }
Adds the supplied route to the matched route data map.

@param \Viserio\Component\Contract\Routing\Route $route
@param array                                     $parameterIndexNameMap
Adds the supplied route to the matched route data map .