AirLay backend

PropertyEntity extends DatabaseEntity
in package

Table of Contents

$_id  : ObjectId
$properties  : stdClass
$systemProperties  : stdClass
__construct()  : mixed
__toString()  : string
addProperties()  : self
addProperty()  : self
bsonSerialize()  : array<string|int, mixed>
bsonUnserialize()  : void
getId()  : ObjectId
getProperties()  : array<string|int, mixed>
getSystemProperties()  : array<string|int, mixed>
isDeleted()  : bool
jsonSerialize()  : array<string|int, mixed>
markAsDeleted()  : self
parseObjectId()  : ObjectId|null
removeProperty()  : self
setId()  : self
setProperties()  : 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

addProperties()

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

addProperty()

public addProperty(string $key, mixed $value) : self
Parameters
$key : string
$value : mixed
Return values
self

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

getProperties()

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

getSystemProperties()

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

jsonSerialize()

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

markAsDeleted()

public markAsDeleted() : self
Return values
self

parseObjectId()

public static parseObjectId(mixed $objectId) : ObjectId|null
Parameters
$objectId : mixed
Return values
ObjectId|null

removeProperty()

public removeProperty(mixed $propertyName) : self
Parameters
$propertyName : mixed
Return values
self

setId()

public setId(ObjectId $id) : self
Parameters
$id : ObjectId
Return values
self

setProperties()

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

toArray()

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

Search results