KamranAhmed\Geocode\Location::getCountry PHP Метод

getCountry() публичный Метод

Gets the country of the location
public getCountry ( string $default = '' ) : string
$default string
Результат string
    public function getCountry($default = '')
    {
        return $this->country ?: $default;
    }