code: private function addRoute($httpMethod, $route, $handler)
      {
          $routeData = $this->routeParser->parse($route);
  
          foreach ($routeData as $routeDatum) {
              $this->dataGenerator->addRoute($httpMethod, $routeDatum, $handler);
          }
      }
docs: Add an un-named route to the collection
  
  @param string $httpMethod
  @param string $route
  @param mixed  $handler