code: public function map(array $methods, string $path, $handler): void
      {
          if (is_string($handler)) {
              $handler = $this->getContainer()->get($handler);
          }
  
          $this->router->map($methods, $path, $handler);
      }
docs: Map multiple methods for a route
  
  @param string[] $methods
  @param string $path
  @param RequestHandlerInterface|string $handler
  
  @return void