You are here

public function ProviderInterface::country in Smart IP 7.2

Same name and namespace in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/ProviderInterface.php \GeoIp2\ProviderInterface::country()

Parameters

ipAddress: IPv4 or IPv6 address to lookup.

Return value

\GeoIp2\Model\Country A Country model for the requested IP address.

2 methods override ProviderInterface::country()
Client::country in includes/vendor/geoip2/geoip2/src/WebService/Client.php
This method calls the GeoIP2 Precision: Country service.
Reader::country in includes/vendor/geoip2/geoip2/src/Database/Reader.php
This method returns a GeoIP2 Country model.

File

includes/vendor/geoip2/geoip2/src/ProviderInterface.php, line 12

Class

ProviderInterface

Namespace

GeoIp2

Code

public function country($ipAddress);