src/Router.php
public function any(
        string $route,
        $controller,
        $middleware = [],
        string $domain = null,
        string $name = null
    ): Router {
        return $this->map(null, $route, $controller, $middleware, $domain, $name);
    }
public function any(
        string $route,
        $controller,
        $middleware = [],
        string $domain = null,
        string $name = null
    ): Router {
        return $this->map(null, $route, $controller, $middleware, $domain, $name);
    }
Map a controller to given route for all the http methods

@param string $route
@param Closure|callable|string $controller
@param Middleware|string|Middleware[]|string[] $middleware
@param string|null $domain
@param string|null $name
@return $this