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