src/Widop/Twitter/OAuth/OAuth.php
private function createRequest($path, $responseFormat = OAuthResponse::FORMAT_JSON)
    {
        $request = new OAuthRequest();
        $request->setBaseUrl($this->getUrl());
        $request->setPath($path);
        $request->setMethod(OAuthRequest::METHOD_POST);
        $request->setResponseFormat($responseFormat);

        return $request;
    }
private function createRequest($path, $responseFormat = OAuthResponse::FORMAT_JSON)
    {
        $request = new OAuthRequest();
        $request->setBaseUrl($this->getUrl());
        $request->setPath($path);
        $request->setMethod(OAuthRequest::METHOD_POST);
        $request->setResponseFormat($responseFormat);

        return $request;
    }
private function createRequest ( $ path , $ responseFormat = OAuthResponse :: FORMAT_JSON ) { $ request = new OAuthRequest ( ) ; $ request -> setBaseUrl ( $ this -> getUrl ( ) ) ; $ request -> setPath ( $ path ) ; $ request -> setMethod ( OAuthRequest :: METHOD_POST ) ; $ request -> setResponseFormat ( $ responseFormat ) ; return $ request ; }
Creates an OAuth request.

@param string $path           The OAuth path.
@param string $responseFormat The response format.

@return \Widop\Twitter\OAuth\OAuthRequest The OAuth request.
Creates an OAuth request .