protected function appendDataToURL()
    {
        $parameterString = '';
        if( is_array($this->packageOptions[ 'data' ]) && count($this->packageOptions[ 'data' ]) != 0 ) {
            $parameterString = '?'. http_build_query( $this->packageOptions[ 'data' ], null, '&' );
        }

        return $this->curlOptions[ 'URL' ] .= $parameterString;
    }
protected function appendDataToURL()
    {
        $parameterString = '';
        if( is_array($this->packageOptions[ 'data' ]) && count($this->packageOptions[ 'data' ]) != 0 ) {
            $parameterString = '?'. http_build_query( $this->packageOptions[ 'data' ], null, '&' );
        }

        return $this->curlOptions[ 'URL' ] .= $parameterString;
    }
protected function appendDataToURL ( ) { $ parameterString = '' ; if ( is_array ( $ this -> packageOptions [ 'data' ] ) && count ( $ this -> packageOptions [ 'data' ] ) != 0 ) { $ parameterString = '?' . http_build_query ( $ this -> packageOptions [ 'data' ] , null , '&' ) ; } return $ this -> curlOptions [ 'URL' ] .= $ parameterString ; }
Append set data to the query string for GET and DELETE cURL requests

@return string
Append set data to the query string for GET and DELETE cURL requests