attributesToString() public static method

public static attributesToString ( $attributes )
Example #1
0
 /**
  * create a printable representation of the object as:
  * ClassName[property=value, property=value]
  * @ignore
  * @return string
  */
 public function __toString()
 {
     $output = Util::attributesToString($this->_attributes);
     if (isset($this->_creditCardVerification)) {
         $output .= sprintf('%s', $this->_creditCardVerification);
     }
     return __CLASS__ . '[' . $output . ']';
 }
 /**
  * returns a string representation of the customer
  * @return string
  */
 public function __toString()
 {
     return __CLASS__ . '[' . Util::attributesToString($this->_attributes) . ']';
 }