respect-validation/docs/rules/Iban.md
Henrique Moody 10df3211f5
Add "Categorization" section to rule documentations
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2019-05-11 19:16:21 +02:00

35 lines
659 B
Markdown

# Iban
- `v::iban()`
Validates whether the input is a valid [IBAN][] (International Bank Account
Number) or not.
```php
v::iban()->validate('SE35 5000 0000 0549 1000 0003'); // true
v::iban()->validate('ch9300762011623852957'); // true
v::iban()->validate('ZZ32 5000 5880 7742'); // false
v::iban()->validate(123456789); // false
v::iban()->validate(''); // false
```
## Categorization
- Banking
## Changelog
Version | Description
--------|-------------
2.0.0 | Created
***
See also:
- [CreditCard](CreditCard.md)
- [MacAddress](MacAddress.md)
- [PostalCode](PostalCode.md)
[IBAN]: https://en.wikipedia.org/wiki/International_Bank_Account_Number