public function Braintree_Error_ErrorCollection::forKey in Commerce Braintree 7
return errors for the passed key name
Parameters
string $key:
Return value
mixed
File
- braintree_php/
lib/ Braintree/ Error/ ErrorCollection.php, line 63
Class
- Braintree_Error_ErrorCollection
- Handles validation errors
Code
public function forKey($key) {
return $this->_errors
->forKey($key);
}