private function addRoute(array $httpMethod, string $routePath, string $routeId): void
    {
        $routeDatas = $this->parser->parse($routePath);
        foreach ($httpMethod as $method) {
            foreach ($routeDatas as $routeData) {
                $this->generator->addRoute($method, $routeData, $routeId);
            }
        }
    }