protected function handleConnectGateway(string $gateway, array &$querystring) {
        if(!empty($querystring)) {
            if($this->compression !== '') {
                $compression = $this->compression;
                $querystring['compress'] = $compression::getName();
            }
            
            $this->gatewayQS = $querystring;
            $gateway = \rtrim($gateway, '/').'/?'.\http_build_query($querystring);
        }
        
        return $gateway;
    }
protected function handleConnectGateway(string $gateway, array &$querystring) {
        if(!empty($querystring)) {
            if($this->compression !== '') {
                $compression = $this->compression;
                $querystring['compress'] = $compression::getName();
            }
            
            $this->gatewayQS = $querystring;
            $gateway = \rtrim($gateway, '/').'/?'.\http_build_query($querystring);
        }
        
        return $gateway;
    }
protected function handleConnectGateway ( string $ gateway , array & $ querystring ) { if ( ! empty ( $ querystring ) ) { if ( $ this -> compression !== '' ) { $ compression = $ this -> compression ; $ querystring [ 'compress' ] = $ compression :: getName ( ) ; } $ this -> gatewayQS = $ querystring ; $ gateway = \ rtrim ( $ gateway , '/' ) . '/?' . \ http_build_query ( $ querystring ) ; } return $ gateway ; }
Handles the connect gateway URL in terms to the query string..
@param string  $gateway
@param array   $querystring
@return string
@throws \RuntimeException
Handles the connect gateway URL in terms to the query string ..