tao-test/app/vendor/respect/validation/docs/rules/CurrencyCode.md

16 lines
281 B
Markdown
Raw Normal View History

2022-08-29 20:14:13 +02:00
# CurrencyCode
- `v::currencyCode()`
Validates an [ISO 4217](http://en.wikipedia.org/wiki/ISO_4217) currency code like GBP or EUR.
```php
v::currencyCode()->validate('GBP'); // true
```
***
See also:
* [CountryCode](CountryCode.md)
* [SubdivisionCode](SubdivisionCode.md)