Current Path : /var/www/alh/system/storage/vendor/braintree/braintree_php/lib/Braintree/ |
Current File : /var/www/alh/system/storage/vendor/braintree/braintree_php/lib/Braintree/OAuthCredentials.php |
<?php /** * Braintree OAuthCredentials module * * @package Braintree * @category Resources * @copyright 2014 Braintree, a division of PayPal, Inc. * */ class Braintree_OAuthCredentials extends Braintree_Base { protected function _initialize($attribs) { $this->_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__ . '[' . Braintree_Util::attributesToString($this->_attributes) .']'; } }