eacc36a26b
No changes from the upstream version have been made, it is recommended by upstream to install these depdencies via composer - but the composer installation is bundled with a load of test files, shell scripts etc (and we don't use composer to manage 'production dependencies') so we have to do it manually.
21 lines
478 B
PHP
21 lines
478 B
PHP
<?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);
|
|
}
|