Braintree\Error\ErrorCollection::forKey PHP Method

forKey() public method

return errors for the passed key name
public forKey ( string $key ) : mixed
$key string
return mixed
    public function forKey($key)
    {
        return $this->_errors->forKey($key);
    }