private function encodeOAuthHeaders(&$oauth)
    {
        $values = [];
        foreach ($oauth as $key => &$value) {
            $values[] = $key.'="'.\rawurlencode($value).'"';
        }

        return 'OAuth '.\implode(', ', $values);
    }
private function encodeOAuthHeaders(&$oauth)
    {
        $values = [];
        foreach ($oauth as $key => &$value) {
            $values[] = $key.'="'.\rawurlencode($value).'"';
        }

        return 'OAuth '.\implode(', ', $values);
    }
private function encodeOAuthHeaders ( & $ oauth ) { $ values = [ ] ; foreach ( $ oauth as $ key => & $ value ) { $ values [ ] = $ key . '="' . \ rawurlencode ( $ value ) . '"' ; } return 'OAuth ' . \ implode ( ', ' , $ values ) ; }
Transform an the OAuth array configuration to HTTP headers OAuth string.

@param array $oauth

@return string
Transform an the OAuth array configuration to HTTP headers OAuth string .