mirror of
https://github.com/Respect/Validation.git
synced 2024-06-08 08:42:15 +02:00
745a5712eb
This reverts commit f9b9dd21f9
.
28 lines
431 B
Markdown
28 lines
431 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
|
|
```
|
|
|
|
## Categorization
|
|
|
|
- ISO codes
|
|
- Localization
|
|
|
|
## Changelog
|
|
|
|
Version | Description
|
|
--------|-------------
|
|
2.0.0 | Became case-sensitive
|
|
1.0.0 | Created
|
|
|
|
***
|
|
See also:
|
|
|
|
- [CountryCode](CountryCode.md)
|
|
- [SubdivisionCode](SubdivisionCode.md)
|