Table of Contents
-
$_id
: ObjectId
-
$categoryId
: ObjectId
-
$customer
: array<string|int, mixed>
-
$objectId
: ObjectId
-
$operation
: string
-
$properties
: array<string|int, mixed>
-
$time
: int
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
getCategoryId()
: ObjectId
-
getCustomer()
: array<string|int, mixed>
-
getId()
: ObjectId
-
getObjectId()
: ObjectId
-
getOperation()
: string
-
getProperties()
: array<string|int, mixed>
-
getTime()
: int
-
jsonSerialize()
: array<string|int, mixed>
-
parseObjectId()
: ObjectId|null
-
setId()
: self
-
setTime()
: self
-
toArray()
: array<string|int, mixed>
$_id
protected
ObjectId
$_id
$categoryId
private
ObjectId
$categoryId
$customer
private
array<string|int, mixed>
$customer
$objectId
private
ObjectId
$objectId
$operation
private
string
$operation
$properties
private
array<string|int, mixed>
$properties
$time
private
int
$time
__construct()
public
__construct(ObjectId $objectId, string $operation, array<string|int, mixed> $properties, ObjectId $categoryId, array<string|int, mixed> $customer[, ObjectId|null $id = null ]) : mixed
Parameters
-
$objectId
: ObjectId
-
-
$operation
: string
-
-
$properties
: array<string|int, mixed>
-
-
$categoryId
: ObjectId
-
-
$customer
: 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
—
getCategoryId()
public
getCategoryId() : ObjectId
Return values
ObjectId
—
getCustomer()
public
getCustomer() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getObjectId()
public
getObjectId() : ObjectId
Return values
ObjectId
—
getOperation()
public
getOperation() : string
Return values
string
—
getProperties()
public
getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getTime()
public
getTime() : 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
—
setTime()
public
setTime(int $time) : self
Parameters
-
$time
: int
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—