Documentation

PhoneCodeMapper extends Mapper
in package

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>

Methods

getCountriesData()

public static getCountriesData(Simple|null $countries) : mixed
Parameters
$countries : Simple|null

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>

        
On this page

Search results