mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
commit
2e32c8a7cc
|
|
@ -59,6 +59,14 @@ class ImpressionStat
|
||||||
*/
|
*/
|
||||||
public \DateTime $datetime;
|
public \DateTime $datetime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Request time
|
||||||
|
*
|
||||||
|
* @var null|\DateTime
|
||||||
|
* @since 1.0.0
|
||||||
|
*/
|
||||||
|
public ?\DateTime $end = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Request host/domain
|
* Request host/domain
|
||||||
*
|
*
|
||||||
|
|
@ -148,6 +156,7 @@ class ImpressionStat
|
||||||
'country' => $this->country,
|
'country' => $this->country,
|
||||||
'referer' => $this->referer,
|
'referer' => $this->referer,
|
||||||
'datetime' => $this->datetime->getTimestamp(),
|
'datetime' => $this->datetime->getTimestamp(),
|
||||||
|
'end' => $this->end?->getTimestamp(),
|
||||||
'meta' => $this->meta,
|
'meta' => $this->meta,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user