Introduce a new Iban Validator class which is responsible for Iban validation and gives the user more detailed information on Validation Errors. Consider to introduce localised error message.
The new interface should look like this:
$validator = new IbanValidator(); $errors = $validator->validate($iban);
Introduce a new Iban Validator class which is responsible for Iban validation and gives the user more detailed information on Validation Errors. Consider to introduce localised error message.
The new interface should look like this:
$validator = new IbanValidator(); $errors = $validator->validate($iban);