public static function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
    {
        return self::getServerRequestFactory()->createServerRequest($method, $uri, $serverParams);
    }
public static function createServerRequest(string $method, $uri, array $serverParams = []): ServerRequestInterface
    {
        return self::getServerRequestFactory()->createServerRequest($method, $uri, $serverParams);
    }
public static function createServerRequest ( string $ method , $ uri , array $ serverParams = [ ] ) : ServerRequestInterface { return self :: getServerRequestFactory ( ) -> createServerRequest ( $ method , $ uri , $ serverParams ) ; }
Creates a ServerRequest instance.
@param mixed $uri
Creates a ServerRequest instance .