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#
| Method | Description |
|---|---|
::name() |
name()#
public static function name(string $code, string $locale = 'en'): string| Parameter | Type | Description |
|---|---|---|
$code | string | |
$locale | string = 'en' |
- Returns
string