ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* @package Plumrocket_GeoIPLookup
|
||||
* @copyright Copyright (c) 2024 Plumrocket Inc. (https://plumrocket.com)
|
||||
* @license https://plumrocket.com/license/ End-user License Agreement
|
||||
*/
|
||||
|
||||
namespace Plumrocket\GeoIPLookup\Api;
|
||||
|
||||
/**
|
||||
* @since 2.0.0
|
||||
*/
|
||||
interface GeoIpServiceInterface
|
||||
{
|
||||
/**
|
||||
* @param string|null $ip
|
||||
* @return array|null
|
||||
*/
|
||||
public function getGeoLocation(?string $ip): ?array;
|
||||
|
||||
/**
|
||||
* @param string|null $ip
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCountryCode(?string $ip): ?string;
|
||||
|
||||
/**
|
||||
* @param string|null $ip
|
||||
* @return string|null
|
||||
*/
|
||||
public function getCurrentCountryState(?string $ip): ?string;
|
||||
}
|
||||
Reference in New Issue
Block a user