protected function getParametersToSign(RequestInterface $request)
    {
        $params         = $this->getOAuthParameters($request);

        if ($request->getHeader('Content-Type') === 'application/x-www-form-urlencoded') {
            $params = array_merge($params, $this->getContentAsParameters($request));
        }

        return $params;
    }
protected function getParametersToSign(RequestInterface $request)
    {
        $params         = $this->getOAuthParameters($request);

        if ($request->getHeader('Content-Type') === 'application/x-www-form-urlencoded') {
            $params = array_merge($params, $this->getContentAsParameters($request));
        }

        return $params;
    }
protected function getParametersToSign ( RequestInterface $ request ) { $ params = $ this -> getOAuthParameters ( $ request ) ; if ( $ request -> getHeader ( 'Content-Type' ) === 'application/x-www-form-urlencoded' ) { $ params = array_merge ( $ params , $ this -> getContentAsParameters ( $ request ) ) ; } return $ params ; }
Include OAuth and request body parameters

@access protected
@param  RequestInterface $request
@return array

@see http://oauth.net/core/1.0/#sig_norm_param
Include OAuth and request body parameters