public function Braintree_Error_Validation::__get in Commerce Braintree 7
@ignore
File
- braintree_php/
lib/ Braintree/ Error/ Validation.php, line 59
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 __get($name) {
$varName = "_{$name}";
return isset($this->{$varName}) ? $this->{$varName} : null;
}