Table of Contents
-
$_id
: ObjectId
-
$deviceId
: string
-
$lat
: float
-
$lon
: float
-
$time
: int
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
fromArray()
: MapTrackEntity
-
getDeviceId()
: string
-
getId()
: ObjectId
-
getLat()
: float
-
getLon()
: float
-
getTime()
: int
-
jsonSerialize()
: array<string|int, mixed>
-
parseObjectId()
: ObjectId|null
-
setDeviceId()
: self
-
setId()
: self
-
setLat()
: self
-
setLon()
: self
-
setTime()
: self
-
toArray()
: array<string|int, mixed>
$_id
protected
ObjectId
$_id
$deviceId
private
string
$deviceId
$lat
private
float
$lat
$lon
private
float
$lon
$time
private
int
$time
__construct()
public
__construct(string $deviceId, float $lat, float $lon, int $time[, ObjectId|null $id = null ]) : mixed
Parameters
-
$deviceId
: string
-
-
$lat
: float
-
-
$lon
: float
-
-
$time
: int
-
-
$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
—
fromArray()
public
static fromArray(array<string|int, mixed> $data) : MapTrackEntity
Parameters
-
$data
: array<string|int, mixed>
-
Return values
MapTrackEntity
—
getDeviceId()
public
getDeviceId() : string
Return values
string
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getLat()
public
getLat() : float
Return values
float
—
getLon()
public
getLon() : float
Return values
float
—
getTime()
public
getTime() : int
Return values
int
—
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
parseObjectId()
public
static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
-
$objectId
: mixed
-
Return values
ObjectId|null
—
setDeviceId()
public
setDeviceId(string $deviceId) : self
Parameters
-
$deviceId
: string
-
Return values
self
—
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
—
setTime()
public
setTime(int $time) : self
Parameters
-
$time
: int
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—