respect-validation/docs/BankAccount.md
2016-11-05 14:14:38 +01:00

433 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): Respect\Validation supports version >=1.1.0 of "malkusch/bav" for this rule.

See also: