Table of Contents
-
$_id
: ObjectId
-
$cost
: array<string|int, mixed>
-
$maxDataSize
: float|null
-
$maxUserCount
: int|null
-
$name
: string
-
__construct()
: mixed
-
__toString()
: string
-
bsonSerialize()
: array<string|int, mixed>
-
bsonUnserialize()
: void
-
getCost()
: array<string|int, mixed>
-
getId()
: ObjectId
-
getMaxDataSize()
: float|null
-
getMaxUserCount()
: int|null
-
getName()
: string
-
jsonSerialize()
: array<string|int, mixed>
-
parseObjectId()
: ObjectId|null
-
setCost()
: self
-
setId()
: self
-
setMaxDataSize()
: self
-
setMaxUserCount()
: self
-
setName()
: self
-
toArray()
: array<string|int, mixed>
$_id
protected
ObjectId
$_id
$cost
private
array<string|int, mixed>
$cost
$maxDataSize
private
float|null
$maxDataSize
$maxUserCount
private
int|null
$maxUserCount
$name
private
string
$name
__construct()
public
__construct(int|null $maxUserCount, float|null $maxDataSize, array<string|int, mixed> $cost, string $name[, ObjectId|null $id = null ]) : mixed
Parameters
-
$maxUserCount
: int|null
-
-
$maxDataSize
: float|null
-
-
$cost
: array<string|int, mixed>
-
-
$name
: string
-
-
$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
—
getCost()
public
getCost() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
getId()
public
getId() : ObjectId
Return values
ObjectId
—
getMaxDataSize()
public
getMaxDataSize() : float|null
Return values
float|null
—
getMaxUserCount()
public
getMaxUserCount() : int|null
Return values
int|null
—
getName()
public
getName() : string
Return values
string
—
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
—
setCost()
public
setCost(array<string|int, mixed> $cost) : self
Parameters
-
$cost
: array<string|int, mixed>
-
Return values
self
—
setId()
public
setId(ObjectId $id) : self
Parameters
-
$id
: ObjectId
-
Return values
self
—
setMaxDataSize()
public
setMaxDataSize(float|null $maxDataSize) : self
Parameters
-
$maxDataSize
: float|null
-
Return values
self
—
setMaxUserCount()
public
setMaxUserCount(int|null $maxUserCount) : self
Parameters
-
$maxUserCount
: int|null
-
Return values
self
—
setName()
public
setName(string $name) : self
Parameters
-
$name
: string
-
Return values
self
—
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>
—