Lggr
Static Public Member Functions | List of all members
Faker\Calculator\Iban Class Reference

Static Public Member Functions

static checksum ($iban)
 
static alphaToNumber ($char)
 
static mod97 ($number)
 
static isValid ($iban)
 

Member Function Documentation

◆ alphaToNumber()

static Faker\Calculator\Iban::alphaToNumber (   $char)
static

Converts letter to number

Parameters
string$char
Returns
int

◆ checksum()

static Faker\Calculator\Iban::checksum (   $iban)
static

Generates IBAN Checksum

Parameters
string$iban
Returns
string Checksum (numeric string)

◆ isValid()

static Faker\Calculator\Iban::isValid (   $iban)
static

Checks whether an IBAN has a valid checksum

Parameters
string$iban
Returns
boolean

◆ mod97()

static Faker\Calculator\Iban::mod97 (   $number)
static

Calculates mod97 on a numeric string

Parameters
string$numberNumeric string
Returns
int

The documentation for this class was generated from the following file: