Table of Contents
-
$_id
: ObjectId
-
$notificationSenderId
: ObjectId
-
$objectId
: ObjectId
-
$sendTime
: int
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
getId()
: ObjectId
-
getNotificationSenderId()
: ObjectId
-
getObjectId()
: ObjectId
-
getSendTime()
: int
-
jsonSerialize()
: array<string|int, mixed>
-
parseObjectId()
: ObjectId|null
-
setId()
: self
-
toArray()
: array<string|int, mixed>
$_id
protected
ObjectId
$_id
$notificationSenderId
private
ObjectId
$notificationSenderId
$objectId
private
ObjectId
$objectId
$sendTime
private
int
$sendTime
__construct()
public
__construct(ObjectId $objectId, ObjectId $notificationSenderId, int $sendTime[, ObjectId|null $id = null ]) : mixed
Parameters
-
$objectId
: ObjectId
-
-
$notificationSenderId
: ObjectId
-
-
$sendTime
: 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
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getNotificationSenderId()
public
getNotificationSenderId() : ObjectId
Return values
ObjectId
—
getObjectId()
public
getObjectId() : ObjectId
Return values
ObjectId
—
getSendTime()
public
getSendTime() : 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
—
setId()
public
setId(ObjectId $id) : self
Parameters
-
$id
: ObjectId
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—