You are here

ProviderInterface.php in Smart IP 7.2

Same filename and directory in other branches
  1. 6.2 includes/vendor/geoip2/geoip2/src/ProviderInterface.php

Namespace

GeoIp2

File

includes/vendor/geoip2/geoip2/src/ProviderInterface.php
View source
<?php

namespace GeoIp2;

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);

}

Interfaces

Namesort descending Description
ProviderInterface