respect-validation/docs/BankAccount.md
Henrique Moody 66027b85a5 Documentation improvements
- Add a space after comments with `//`;
- Add missing "See also" sections in some files
2015-10-19 22:55:05 -02:00

445 B

BankAccount

  • v::bankAccount(string $countryCode, string $bank)

Validates a bank account for a given bank.

v::bankAccount("de", "70169464")->validate("1112"); // true
v::bankAccount("de", "70169464")->validate("1234"); // false

These country codes are supported:

  • "de" (Germany) - You must add "malkusch/bav": "~1.0" to your require property on composer.json file.

See also: