GeoIP2 PHP API v3.1.0

ConnectionType
in package
implements JsonSerializable

This class provides the GeoIP2 Connection-Type model.

Table of Contents

Interfaces

JsonSerializable

Properties

$connectionType  : string|null
$ipAddress  : string
$network  : string

Methods

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

Properties

$connectionType read-only

public string|null $connectionType

The connection type may take the following values: "Dialup", "Cable/DSL", "Corporate", "Cellular", and "Satellite". Additional values may be added in the future.

$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