public function Braintree_Instance::__construct in Commerce Braintree 7
Parameters
array $aAttribs :
1 call to Braintree_Instance::__construct()
- Braintree_Transaction_CreditCardDetails::__construct in braintree_php/
lib/ Braintree/ Transaction/ CreditCardDetails.php - @ignore
2 methods override Braintree_Instance::__construct()
- Braintree_Result_Successful::__construct in braintree_php/
lib/ Braintree/ Result/ Successful.php - @ignore
- Braintree_Transaction_CreditCardDetails::__construct in braintree_php/
lib/ Braintree/ Transaction/ CreditCardDetails.php - @ignore
File
- braintree_php/
lib/ Braintree/ Instance.php, line 24
Class
- Braintree_Instance
- abstract instance template for various objects
Code
public function __construct($attributes) {
if (!empty($attributes)) {
$this
->_initializeFromArray($attributes);
}
}