AirLay backend

TrackEntity extends DatabaseEntity
in package

Table of Contents

$_id  : ObjectId
$deleted  : bool|null
$featureId  : ObjectId
$lat  : float
$lon  : float
$time  : int
__construct()  : mixed
__toString()  : string
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
getFeatureId()  : ObjectId
getId()  : ObjectId
getLat()  : float
getLon()  : float
getTime()  : int
isDeleted()  : bool|null
jsonSerialize()  : array<string|int, mixed>
markAsDeleted()  : self
parseObjectId()  : ObjectId|null
setFeatureId()  : self
setId()  : self
setLat()  : self
setLon()  : self
setTime()  : self
toArray()  : array<string|int, mixed>

Properties

Methods

__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

getFeatureId()

public getFeatureId() : 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

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

setFeatureId()

public setFeatureId(ObjectId $featureId) : self
Parameters
$featureId : ObjectId
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 $timestamp) : self
Parameters
$timestamp : int
Return values
self

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results