public function toString()
    {
        $temp = [];
        foreach ($this->data as $queryItem) {
            $temp[$queryItem->name] = $queryItem->value;
        }
        return http_build_query($temp);
    }
public function toString()
    {
        $temp = [];
        foreach ($this->data as $queryItem) {
            $temp[$queryItem->name] = $queryItem->value;
        }
        return http_build_query($temp);
    }
public function toString ( ) { $ temp = [ ] ; foreach ( $ this -> data as $ queryItem ) { $ temp [ $ queryItem -> name ] = $ queryItem -> value ; } return http_build_query ( $ temp ) ; }
Returns the query items as string.

@return string Returns the query items as string.
Returns the query items as string .