src/Vinelab/Auth/Social/Providers/Twitter/OAuth.php
public function normalizeHeaders($params)
    {
        $out = '';

        foreach ($params as $key => $param) {
            $out .= $key.'="'.rawurlencode(trim($param)).'",';
        }

        return rtrim($out, ',');
    }
public function normalizeHeaders($params)
    {
        $out = '';

        foreach ($params as $key => $param) {
            $out .= $key.'="'.rawurlencode(trim($param)).'",';
        }

        return rtrim($out, ',');
    }
public function normalizeHeaders ( $ params ) { $ out = '' ; foreach ( $ params as $ key => $ param ) { $ out .= $ key . '="' . rawurlencode ( trim ( $ param ) ) . '",' ; } return rtrim ( $ out , ',' ) ; }
Transforms a parameters array into
a series of strings compatible to be
embedded in a request header.

@param array $params

@return string
Transforms a parameters array into a series of strings compatible to be embedded in a request header .