respect-validation/docs/CurrencyCode.md
William Espindola a463f8ab2d
Apply contribution guidelines to "CurrencyCode" rule
Also makes the rule case-sensitive since that is how ISO 4217
shows the currency codes.

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2018-06-18 20:55:43 +02:00

22 lines
384 B
Markdown

# CurrencyCode
- `CurrencyCode()`
Validates an [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code like GBP or EUR.
```php
v::currencyCode()->validate('GBP'); // true
```
## Changelog
Version | Description
--------|-------------
2.0.0 | Became case-sensitive
1.0.0 | Created
***
See also:
- [CountryCode](CountryCode.md)
- [SubdivisionCode](SubdivisionCode.md)