Overview

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • WebService
  • PHP

Classes

  • AnonymousIp
  • City
  • ConnectionType
  • Country
  • Domain
  • Insights
  • Isp
  • Overview
  • Namespace
  • Class
  • Tree

Class Domain

This class provides the GeoIP2 Domain model.

GeoIp2\Model\AbstractModel implements JsonSerializable
Extended by GeoIp2\Model\Domain
Namespace: GeoIp2\Model
Located at GeoIp2/Model/Domain.php
Methods inherited from GeoIp2\Model\AbstractModel
__construct(), __get(), __isset(), get(), jsonSerialize()
Properties summary
protected mixed $domain
#
protected mixed $ipAddress
#
Properties inherited from GeoIp2\Model\AbstractModel
$raw
Magic properties summary
public string $domain

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

public string $ipAddress

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

GeoIP2 PHP API v2.1.1 API documentation generated by ApiGen