private function addRoute($httpMethod, $route, $handler)
    {
        $routeData = $this->routeParser->parse($route);

        foreach ($routeData as $routeDatum) {
            $this->dataGenerator->addRoute($httpMethod, $routeDatum, $handler);
        }
    }