\GeoIp2\ModelDomain

This class provides the GeoIP2 Domain model.

Summary

Methods
Properties
Constants
jsonSerialize()
$domain
$ipAddress
$network
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$domain

$domain : string|null

The second level domain associated with the IP address. This will be something like "example.com" or "example.co.uk", not "foo.example.com".

Type

string|null

$ipAddress

$ipAddress : string

The IP address that the data in the model is for.

Type

string

$network

$network : string

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.

Type

string

Methods

jsonSerialize()

jsonSerialize()