RegionBundle::getCountryName()

string|null getCountryName(string $country, string $displayLocale = null)

Returns the name of a country.

Parameters

string $country A country code (e.g. "US").
string $displayLocale Optional. The locale to return the name in. Defaults to {@link \Locale::getDefault()}.

Return Value

string|null The name of the country or NULL if not found.
doc_Symfony
2016-10-28 06:28:57
Comments
Leave a Comment

Please login to continue.