GeoIP2 PHP API v2.4.4
  • Namespace
  • Class

Namespaces

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

Classes

  • AnonymousIp
  • City
  • ConnectionType
  • Country
  • Domain
  • Enterprise
  • Insights
  • Isp

Class Domain

This class provides the GeoIP2 Domain model.

GeoIp2\Model\AbstractModel implements GeoIp2\Compat\JsonSerializable
Extended by GeoIp2\Model\Domain
Namespace: GeoIp2\Model
Located at Model/Domain.php

Methods summary

Methods inherited from GeoIp2\Model\AbstractModel

__construct(), __get(), __isset(), get(), jsonSerialize()

Properties summary

protected $domain
#
protected $ipAddress
#

Properties inherited from GeoIp2\Model\AbstractModel

$raw

Magic properties

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

public read-only string $ipAddress

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

GeoIP2 PHP API v2.4.4 API documentation generated by ApiGen