PhoneCodeMapper
extends Mapper
Table of Contents
Methods
-
getCountriesData()
: mixed
-
getCountryData()
: mixed
-
getPhoneCodesData()
: array<string|int, mixed>
-
mapper()
: mixed
-
getData()
: array<string|int, mixed>
-
getPhoneData()
: array<string|int, mixed>
getCountriesData()
public
static getCountriesData(Simple|null $countries) : mixed
Parameters
-
$countries
: Simple|null
-
getCountryData()
public
static getCountryData(Country $country) : mixed
Parameters
-
$country
: Country
-
getPhoneCodesData()
public
static getPhoneCodesData(Simple $countries) : array<string|int, mixed>
Parameters
-
$countries
: Simple
-
Return values
array<string|int, mixed>
mapper()
public
static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
-
$map
: array<string|int, mixed>
-
-
$original
: array<string|int, mixed>
-
-
$reverse
: bool
= true
-
getData()
private
static getData(Country $country) : array<string|int, mixed>
Parameters
-
$country
: Country
-
Return values
array<string|int, mixed>
getPhoneData()
private
static getPhoneData(Country $country) : array<string|int, mixed>
Parameters
-
$country
: Country
-
Return values
array<string|int, mixed>