ProviderInterface
in
Table of Contents
Methods
Methods
city()
public
city(string $ipAddress) : City
Parameters
- $ipAddress : string
-
an IPv4 or IPv6 address to lookup
Return values
City —a City model for the requested IP address
country()
public
country(string $ipAddress) : Country
Parameters
- $ipAddress : string
-
an IPv4 or IPv6 address to lookup
Return values
Country —a Country model for the requested IP address