◆ jsonSerialize()
GeoIp2\Model\City::jsonSerialize |
( |
| ) |
|
|
inherited |
◆ $country
CountryRecord readonly CountryRecord GeoIp2\Model\Country::$country |
|
inherited |
Country data for the requested IP address.
This object represents the country where MaxMind believes the end user is located.
◆ $mostSpecificSubdivision
An object representing the most specific subdivision returned.
If the response did not contain any subdivisions, this method returns an empty GeoIp2\Record\Subdivision object.
◆ $registeredCountry
CountryRecord readonly CountryRecord GeoIp2\Model\Country::$registeredCountry |
|
inherited |
Registered country data for the requested IP address.
This record represents the country where the ISP has registered a given IP block and may differ from the user's country.
◆ $representedCountry
Represented country data for the requested IP address.
The represented country is used for things like military bases. It is only present when the represented country differs from the country.
◆ $subdivisions
An array of GeoIp2\Record\Subdivision objects representing the country subdivisions for the requested IP address.
The number and type of subdivisions varies by country, but a subdivision is typically a state, province, county, etc. Subdivisions are ordered from most general (largest) to most specific (smallest). If the response did not contain any subdivisions, this method returns an empty array.
The documentation for this class was generated from the following file:
- lib/maxmind/GeoIp2/src/Model/Insights.php