Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace CookieWarning; |
| 4 | |
| 5 | interface GeoLocation { |
| 6 | /** |
| 7 | * Tries to locate the given IP address. |
| 8 | * |
| 9 | * @param string $ip The IP address to lookup |
| 10 | * @return null|string NULL on error or if locating the IP was not possible, the country |
| 11 | * code otherwise |
| 12 | */ |
| 13 | public function locate( $ip ); |
| 14 | } |