\GeoIp2ProviderInterface

Summary

Methods
Constants
country()
city()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

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

city()

city(string  $ipAddress) : \GeoIp2\Model\City

Parameters

string $ipAddress

an IPv4 or IPv6 address to lookup

Returns

\GeoIp2\Model\City —

a City model for the requested IP address