You are here

public function ProviderInterface::city in Smart IP 6.2

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

Parameters

ipAddress: IPv4 or IPv6 address to lookup.

Return value

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

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

File

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

Class

ProviderInterface

Namespace

GeoIp2

Code

public function city($ipAddress);