Overview

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • WebService
  • MaxMind
    • Db
      • Reader
  • PHP

Classes

  • AnonymousIp
  • Asn
  • City
  • ConnectionType
  • Country
  • Domain
  • Enterprise
  • 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 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 read-only string|null $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".

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 read-only string $ipAddress

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

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

GeoIP2 PHP API v2.7.0 API documentation generated by ApiGen 2.8.0