Collection
extends BaseCollection
Table of Contents
-
$objectType
: string
-
__construct()
: mixed
-
findByIdempotencyKey()
: SendObjectEntity|null
-
getWaiting()
: Iterator|CursorInterface
-
insert()
: bool
-
updateStatusAndResponse()
: bool
$objectType
protected
string
$objectType
= \Airlay\Library\SendObject\SendObjectEntity::class
__construct()
public
__construct() : mixed
Return values
mixed
—
findByIdempotencyKey()
public
findByIdempotencyKey(string $idempotencyKey) : SendObjectEntity|null
Parameters
-
$idempotencyKey
: string
-
Return values
SendObjectEntity|null
—
getWaiting()
public
getWaiting() : Iterator|CursorInterface
Return values
Iterator|CursorInterface
—
insert()
public
insert(SendObjectEntity $task) : bool
Parameters
-
$task
: SendObjectEntity
-
Return values
bool
—
updateStatusAndResponse()
public
updateStatusAndResponse(ObjectId $sendObjectId, Response $response) : bool
Parameters
-
$sendObjectId
: ObjectId
-
-
$response
: Response
-
Return values
bool
—