Skip to content

API reference / Quittio \ Core \ View

CountryNames

final class in quittio/core

Quittio\Core\View\CountryNames · Source

Country names from ext-intl with the ISO code as fallback.

Methods#

MethodDescription
::name()

name()#

public static function name(string $code, string $locale = 'en'): string

static

ParameterTypeDescription
$codestring
$localestring = 'en'
Returns
string

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.