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

        $this->router->map($methods, $path, $handler);
    }