protected function initOAuthProvider(OAuthProvider $provider) { $this->oauthVersion = $provider->getOAuthVersion(); $this->consumerKey = $provider->getConsumerKey(); $this->consumerSecret = $provider->getConsumerSecret(); $this->token = $provider->getToken(); $this->tokenSecret = $provider->getTokenSecret(); $this->signatureMethod = $provider->getSignatureMethod(); $this->cert = $provider->getCert(); }