Table of Contents
-
$_id
: ObjectId
-
$deleted
: bool|null
-
$lat
: float
-
$lon
: float
-
$propertyId
: ObjectId
-
$time
: UTCDateTime
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
getId()
: ObjectId
-
getLat()
: float
-
getLon()
: float
-
getPropertyId()
: ObjectId
-
getTime()
: UTCDateTime
-
getTimestamp()
: int
-
isDeleted()
: bool|null
-
jsonSerialize()
: array<string|int, mixed>
-
markAsDeleted()
: self
-
parseObjectId()
: ObjectId|null
-
setId()
: self
-
setLat()
: self
-
setLon()
: self
-
setPropertyId()
: self
-
setTime()
: self
-
toArray()
: array<string|int, mixed>
$_id
protected
ObjectId
$_id
$deleted
private
bool|null
$deleted
$lat
private
float
$lat
$lon
private
float
$lon
$propertyId
private
ObjectId
$propertyId
$time
private
UTCDateTime
$time
__construct()
public
__construct([ObjectId|null $id = null ]) : mixed
Parameters
-
$id
: ObjectId|null
= null
-
Return values
mixed
—
__toString()
public
__toString() : string
Return values
string
—
bsonSerialize()
public
bsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
bsonUnserialize()
public
bsonUnserialize(array<string|int, mixed> $data) : void
Parameters
-
$data
: array<string|int, mixed>
-
Return values
void
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getLat()
public
getLat() : float
Return values
float
—
getLon()
public
getLon() : float
Return values
float
—
getPropertyId()
public
getPropertyId() : ObjectId
Return values
ObjectId
—
getTime()
public
getTime() : UTCDateTime
Return values
UTCDateTime
—
getTimestamp()
public
getTimestamp() : int
Return values
int
—
isDeleted()
public
isDeleted() : bool|null
Return values
bool|null
—
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
markAsDeleted()
public
markAsDeleted() : self
Return values
self
—
parseObjectId()
public
static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
-
$objectId
: mixed
-
Return values
ObjectId|null
—
setId()
public
setId(ObjectId $id) : self
Parameters
-
$id
: ObjectId
-
Return values
self
—
setLat()
public
setLat(float $lat) : self
Parameters
-
$lat
: float
-
Return values
self
—
setLon()
public
setLon(float $lon) : self
Parameters
-
$lon
: float
-
Return values
self
—
setPropertyId()
public
setPropertyId(ObjectId $propertyId) : self
Parameters
-
$propertyId
: ObjectId
-
Return values
self
—
setTime()
public
setTime(int $timestamp) : self
Parameters
-
$timestamp
: int
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—