GeoIP2 PHP API v3.1.0

Isp
in package
implements JsonSerializable

This class provides the GeoIP2 ISP model.

Table of Contents

Interfaces

JsonSerializable

Properties

$autonomousSystemNumber  : int|null
$autonomousSystemOrganization  : string|null
$ipAddress  : string
$isp  : string|null
$mobileCountryCode  : string|null
$mobileNetworkCode  : string|null
$network  : string
$organization  : string|null

Methods

jsonSerialize()  : array<string, mixed>|null

Properties

$autonomousSystemNumber read-only

public int|null $autonomousSystemNumber

the autonomous system number associated with the IP address

$autonomousSystemOrganization read-only

public string|null $autonomousSystemOrganization

the organization associated with the registered autonomous system number for the IP address

$ipAddress read-only

public string $ipAddress

the IP address that the data in the model is for

$isp read-only

public string|null $isp

the name of the ISP associated with the IP address

$network read-only

public string $network

The network in CIDR notation associated with the record. In particular, this is the largest network where all of the fields besides $ipAddress have the same value.

$organization read-only

public string|null $organization

the name of the organization associated with the IP address

Methods

jsonSerialize()

public jsonSerialize() : array<string, mixed>|null
Return values
array<string, mixed>|null

        
On this page

Search results