src/Viserio/Component/Routing/Router.php
public function any(string $uri, $action = null): RouteContract
    {
        return $this->addRoute(
            [
                self::METHOD_HEAD,
                self::METHOD_GET,
                self::METHOD_POST,
                self::METHOD_PUT,
                self::METHOD_PATCH,
                self::METHOD_DELETE,
                self::METHOD_PURGE,
                self::METHOD_OPTIONS,
                self::METHOD_TRACE,
                self::METHOD_CONNECT,
                self::METHOD_TRACE,
                self::METHOD_LINK,
                self::METHOD_UNLINK,
            ],
            $uri,
            $action
        );
    }
public function any(string $uri, $action = null): RouteContract
    {
        return $this->addRoute(
            [
                self::METHOD_HEAD,
                self::METHOD_GET,
                self::METHOD_POST,
                self::METHOD_PUT,
                self::METHOD_PATCH,
                self::METHOD_DELETE,
                self::METHOD_PURGE,
                self::METHOD_OPTIONS,
                self::METHOD_TRACE,
                self::METHOD_CONNECT,
                self::METHOD_TRACE,
                self::METHOD_LINK,
                self::METHOD_UNLINK,
            ],
            $uri,
            $action
        );
    }
{@inheritdoc}