src/Application.php
public function map(array $methods, string $path, $handler): void
    {
        if (is_string($handler)) {
            $handler = $this->getContainer()->get($handler);
        }

        $this->router->map($methods, $path, $handler);
    }
public function map(array $methods, string $path, $handler): void
    {
        if (is_string($handler)) {
            $handler = $this->getContainer()->get($handler);
        }

        $this->router->map($methods, $path, $handler);
    }
Map multiple methods for a route

@param string[] $methods
@param string $path
@param RequestHandlerInterface|string $handler

@return void