MDL-63303 message: fix bugs in message drawer
[moodle.git] / lib / maxmind / GeoIp2 / ProviderInterface.php
blob44851b07e1218cedd33b3ee21fd6067869eccbf6
1 <?php
3 namespace GeoIp2;
5 interface ProviderInterface
7 /**
8 * @param string $ipAddress an IPv4 or IPv6 address to lookup
10 * @return \GeoIp2\Model\Country a Country model for the requested IP address
12 public function country($ipAddress);
14 /**
15 * @param string $ipAddress an IPv4 or IPv6 address to lookup
17 * @return \GeoIp2\Model\City a City model for the requested IP address
19 public function city($ipAddress);