Overview

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • Test
      • Database
      • Model
      • WebService
    • WebService
  • MaxMind
    • MinFraud
      • Model
  • PHP

Interfaces

  • ProviderInterface
  • Overview
  • Namespace
  • Class

Interface ProviderInterface

Direct known implementers

GeoIp2\Database\Reader, GeoIp2\WebService\Client
Namespace: GeoIp2
Located at src/ProviderInterface.php
Methods summary
public GeoIp2\Model\Country
# country( string $ipAddress )

Parameters

$ipAddress
an IPv4 or IPv6 address to lookup

Returns

GeoIp2\Model\Country
a Country model for the requested IP address
public GeoIp2\Model\City
# city( string $ipAddress )

Parameters

$ipAddress
an IPv4 or IPv6 address to lookup

Returns

GeoIp2\Model\City
a City model for the requested IP address
minFraud PHP API v1.4.0 API documentation generated by ApiGen