Skip to content

Language::getCountry

James Cobban edited this page Dec 21, 2019 · 2 revisions

$language->getCountry()

Up: class Language

If the instance of Language was created with a country-qualified language code, for example 'en-US' or 'fr-CA' or 'es-MX' then this returns an instance of class Country. Otherwise it returns null.

Next: $language->getSorry()

Clone this wiki locally