You are here

interface ProviderInterface in Smart IP 7.2

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

Hierarchy

Expanded class hierarchy of ProviderInterface

All classes that implement ProviderInterface

2 files declare their use of ProviderInterface
Client.php in includes/vendor/geoip2/geoip2/src/WebService/Client.php
Reader.php in includes/vendor/geoip2/geoip2/src/Database/Reader.php

File

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

Namespace

GeoIp2
View source
interface ProviderInterface {

  /**
   * @param ipAddress
   *            IPv4 or IPv6 address to lookup.
   * @return \GeoIp2\Model\Country A Country model for the requested IP address.
   */
  public function country($ipAddress);

  /**
   * @param ipAddress
   *            IPv4 or IPv6 address to lookup.
   * @return \GeoIp2\Model\City A City model for the requested IP address.
   */
  public function city($ipAddress);

}

Members