Domain::getCountry - jcobban/Genealogy GitHub Wiki

$domain->getCountry()

Up: class Domain

This factory method returns the instance of class Country identified by the country code portion of the domain identifier. Note that this always returns an instance of class Country even if the country code portion of the domain identifier is not a valid code from ISO 3166-1.

Next: $domain->getLanguage()