country()
country(string $ipAddress) : \GeoIp2\Model\Country
Parameters
| string | $ipAddress | an IPv4 or IPv6 address to lookup |
Returns
\GeoIp2\Model\Country —a Country model for the requested IP address
country(string $ipAddress) : \GeoIp2\Model\Country
| string | $ipAddress | an IPv4 or IPv6 address to lookup |
a Country model for the requested IP address
city(string $ipAddress) : \GeoIp2\Model\City
| string | $ipAddress | an IPv4 or IPv6 address to lookup |
a City model for the requested IP address