public function Braintree_Error_Validation::__construct in Commerce Braintree 7
@ignore
Parameters
array $attributes:
File
- braintree_php/
lib/ Braintree/ Error/ Validation.php, line 36
Class
- Braintree_Error_Validation
- error object returned as part of a validation error collection provides read-only access to $attribute, $code, and $message
Code
public function __construct($attributes) {
$this
->_initializeFromArray($attributes);
}