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