BankAccountNumber
class BankAccountNumber
Constants
| FORMATS |
|
Methods
__construct(string $iban)
Create a new bank account instance.
string
countryCode()
Get the country code.
string
iban()
Get the iban.
string
lastFour()
Get the last four digits.
string
canonicalize(string $iban)
Canonicalize the given value.
string
format()
Get the matching regular expression format.
void
validate()
Validate the given value.
string
__toString()
Cast the object to an reinitialisable string.
Details
at line 118
__construct(string $iban)
Create a new bank account instance.
at line 130
string
countryCode()
Get the country code.
at line 140
string
iban()
Get the iban.
at line 150
string
lastFour()
Get the last four digits.
at line 161
protected string
canonicalize(string $iban)
Canonicalize the given value.
at line 171
protected string
format()
Get the matching regular expression format.
at line 181
protected void
validate()
Validate the given value.
at line 201
string
__toString()
Cast the object to an reinitialisable string.