GeoIp2Location
extends Location
in package
Model of the GeoIP2 Location information, including the local time.
Table of Contents
Properties
- $localTime : string
Methods
- __construct() : mixed
- jsonSerialize() : array<string, mixed>
Properties
$localTime read-only
public
string
$localTime
The date and time of the transaction in the time zone associated with the IP address. The value is formatted according to RFC 3339. For instance, the local time in Boston might be returned as 2015-04-27T19:17:24-04:00.
Methods
__construct()
public
__construct(array<string, mixed> $record) : mixed
Parameters
- $record : array<string, mixed>
jsonSerialize()
public
jsonSerialize() : array<string, mixed>