Class CountryList

Methods summary

public
protected
public array
# getCountries( )

Returns an array of countries with their short name as the key and their full name as the value

public string
# getCountryName( string $code )

Gets a country full name given its code

public array
# getCountriesForLanguage( string $languageCode )

Return a list of territory codes where a specific language is spoken, sorted by the total number of people speaking that language.

Properties summary

protected array $countries
# array()