public function getOAuthProvider() { if (!$this->OAuthProvider) { $this->OAuthProvider = OAuthProvider::factory($this->OAuthProviderClass, $this->initArgs); } return $this->OAuthProvider; }
public function oauth() { if (!$this->oauth) { $this->oauth = OAuthProvider::factory($this->OAuthProviderClass, $this->initArgs); } return $this->oauth; }