-
Notifications
You must be signed in to change notification settings - Fork 2
BankAccount
Pieter Hordijk edited this page Dec 30, 2018
·
9 revisions
Validates the input (string
) to be a valid Albanian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Albania;
(new Albania())->validate('AL47212110090000000235698741');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Albania
when the validated value is not a valid Albanian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Andorran IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Andorra;
(new Andorra())->validate('AD1200012030200359100100');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Andorra
when the validated value is not a valid Andorran IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid
Validates the input (string
) to be a valid Austrian IBAN code.
Available since: 1.0.0
<?php declare(strict_types);
use HarmonyIO\Validation\Rule\BankAccount\Iban\Country\Austria;
(new Austria())->validate('AT611904300234573201');
-
Type.String
when the validated value is not a string -
BankAccount.Iban.Country.Austria
when the validated value is not a valid Austrian IBAN code -
BankAccount.Iban.Checksum
when the validated value's checksum digit is not valid