| author |
Esser Jan |
|---|---|
| license |
MIT |
| package |
Default |
__construct(string $countryCode, integer $check, string $bban)
stringcountry code using ISO 3166-1 alpha-2 - two letters
integercheck digits - two digits
stringBasic Bank Account Number (BBAN) - up to 30 alphanumeric characters that
are country-specific. No special characters like - or space allowed here, use
the {@see createFromString} or {@see sanitize} instead if that's what you may have
__toString()
createFromString( $accountNumber)
getIBANLengths()
sanitize(string $accountNumber) : string
string
string
setIBANLengths(array $IBANLengths)
array
toFormattedString(string $separator = ' ', integer $size = 4, boolean $prefix = false) : string
stringsupported separators are white spaces (regex \s) and hyphen (-) all other separators will not be able to be converted back into objects, a combination may be used.
integerthe separator group size to use, this will chunk
booleanwhen true IBAN will be prefixed
string
validateSelf()
The preferred algorithm is:
countryCode :
check :
bban :
IBANLengths : array
| var |
|---|
array