AirLay backend

CommitEntity extends DatabaseEntity
in package

Table of Contents

$_id  : ObjectId
$commands  : array<string|int, mixed>
$dataSetId  : ObjectId
$error  : string|null
$organizationId  : ObjectId
$success  : bool
$time  : int
$userId  : ObjectId
__construct()  : mixed
__toString()  : string
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
getCommit()  : array<string|int, mixed>
getDataSetId()  : ObjectId
getId()  : ObjectId
getUserId()  : ObjectId
jsonSerialize()  : array<string|int, mixed>
parseObjectId()  : ObjectId|null
setError()  : self
setId()  : self
setSuccess()  : self
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct(ObjectId $dataSetId, ObjectId $userId, ObjectId $organizationId, array<string|int, mixed> $commands[, ObjectId|null $id = null ]) : mixed
Parameters
$dataSetId : ObjectId
$userId : ObjectId
$organizationId : ObjectId
$commands : array<string|int, mixed>
$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

getCommit()

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

getDataSetId()

public getDataSetId() : ObjectId
Return values
ObjectId

getUserId()

public getUserId() : ObjectId
Return values
ObjectId

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

setError()

public setError(string|null $error) : self
Parameters
$error : string|null
Return values
self

setId()

public setId(ObjectId $id) : self
Parameters
$id : ObjectId
Return values
self

setSuccess()

public setSuccess(bool $success) : self
Parameters
$success : bool
Return values
self

toArray()

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

Search results