You are here

public function Braintree_Result_Error::__toString in Commerce Braintree 7

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

Return value

var

File

braintree_php/lib/Braintree/Result/Error.php, line 99

Class

Braintree_Result_Error
Braintree Error Result

Code

public function __toString() {
  $output = Braintree_Util::attributesToString($this->_attributes);
  if (isset($this->_creditCardVerification)) {
    $output .= sprintf('%s', $this->_creditCardVerification);
  }
  return __CLASS__ . '[' . $output . ']';
}