\DtApp\ThinkLibrary\service\IpIpIpService

IP - IPIP Class IpIpService

Summary

Methods
Properties
Constants
__construct()
instance()
getFind()
getFindMap()
getFindInfo()
$reader
No constants found
initialize()
$app
N/A
No private methods found
No private properties found
N/A

Properties

$reader

$reader : \DtApp\ThinkLibrary\service\Ip\IpIpReader|null

Type

\DtApp\ThinkLibrary\service\Ip\IpIpReader|null

$app

$app : \think\App

应用实例

Type

\think\App

Methods

__construct()

__construct(\think\App  $app) 

IpIpService constructor.

Parameters

\think\App $app

Throws

\Exception

instance()

instance(array  $args) : static

静态实例对象

Parameters

array $args

Returns

static

getFind()

getFind(  $ip = '',   $language = 'CN') : array|NULL

Parameters

$ip
$language

Returns

array|NULL

getFindMap()

getFindMap(  $ip = '',   $language = 'CN') : array|false|null

Parameters

$ip
$language

Returns

array|false|null

initialize()

initialize() : $this

初始化服务

Returns

$this