You are here

public function Braintree_Instance::__toString in Commerce Braintree 7

create a printable representation of the object as: ClassName[property=value, property=value]

Return value

var

1 method overrides Braintree_Instance::__toString()
Braintree_Result_Successful::__toString in braintree_php/lib/Braintree/Result/Successful.php
@ignore

File

braintree_php/lib/Braintree/Instance.php, line 53

Class

Braintree_Instance
abstract instance template for various objects

Code

public function __toString() {
  $objOutput = Braintree_Util::implodeAssociativeArray($this->_attributes);
  return get_class($this) . '[' . $objOutput . ']';
}