AirLay backend

TreeCacheEntity extends DatabaseEntity
in package

Table of Contents

$_id  : ObjectId
$tree  : array<string|int, mixed>
__construct()  : mixed
__toString()  : string
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
getId()  : ObjectId
getTree()  : array<string|int, mixed>
jsonSerialize()  : array<string|int, mixed>
parseObjectId()  : ObjectId|null
setId()  : self
setTree()  : self
toArray()  : array<string|int, mixed>

Properties

Methods

__construct()

public __construct([ObjectId|null $id = null ]) : mixed
Parameters
$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

getTree()

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

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

setTree()

public setTree(array<string|int, mixed> $tree) : self
Parameters
$tree : array<string|int, mixed>
Return values
self

toArray()

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

Search results