mirror of
https://github.com/Respect/Validation.git
synced 2026-03-17 15:50:03 +01:00
Also makes the rule case-sensitive since that is how ISO 4217 shows the currency codes. Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
384 B
384 B
CurrencyCode
CurrencyCode()
Validates an ISO 4217 currency code like GBP or EUR.
v::currencyCode()->validate('GBP'); // true
Changelog
| Version | Description |
|---|---|
| 2.0.0 | Became case-sensitive |
| 1.0.0 | Created |
See also: