GeoIP2 PHP API v3.1.0

Asn
in package
implements JsonSerializable

This class provides the GeoLite2 ASN model.

Table of Contents

Interfaces

JsonSerializable

Properties

$autonomousSystemNumber  : int|null
$autonomousSystemOrganization  : string|null
$ipAddress  : string
$network  : string

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

$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.

Methods

jsonSerialize()

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

        
On this page

Search results