PHP Interface CommerceGuys\Addressing\Country\CountryRepositoryInterface

Mostrar archivo Open project: commerceguys/addressing Interface Usage Examples

Public Methods

Method Description
getList ( string $locale = null ) : array Returns a list of countries.

Method Details

getList() public method

Returns a list of countries.
public getList ( string $locale = null ) : array
$locale string The locale (e.g. fr-FR).
return array An array of country names, keyed by country code.