_attributes = $attribs; } public static function factory($attributes) { $instance = new self(); $instance->_initialize($attributes); return $instance; } /** * returns a string representation of the access token * @return string */ public function __toString() { return __CLASS__ . '[' . Util::attributesToString($this->_attributes) .']'; } } class_alias('Braintree\OAuthCredentials', 'Braintree_OAuthCredentials');