AirLay backend

TrackEntity extends DatabaseEntity
in package

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>

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

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>

Search results