Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
KamranAhmed
Geocode
Location
getCountry
KamranAhmed\Geocode\Location::getCountry PHP Method
Location Class Documentation
Datei anzeigen
Open project: kamranahmedse/php-geocode
getCountry()
public
method
Gets the country of the location
public
getCountry
(
string
$default
= '' ) :
string
$default
string
return
string
public function getCountry($default = '') { return $this->country ?: $default; }
Location
__construct
getAddress
getCountry
getDistrict
getLatitude
getLocality
getLongitude
getPostcode
getStreetAddress
getStreetNumber
getTown
isValid
populateDetail