AirLay backend

HelpService extends AirlayService
in package

Class AirlayService

Table of Contents

$  : AirlayConfig
$collection  : HelpsCollection
$rabbitmq  : AMQPStreamConnection
$user  : UserEntity
$collection  : mixed
__construct()  : mixed
create()  : HelpEntity
delete()  : void
getCollection()  : mixed
update()  : HelpEntity
deleteFile()  : void

Properties

Methods

__construct()

public __construct(mixed $collection) : mixed
Parameters
$collection : mixed
Return values
mixed

create()

public create(array<string|int, mixed> $helpData, ObjectId $organizationId[, File|null $file = null ]) : HelpEntity
Parameters
$helpData : array<string|int, mixed>
$organizationId : ObjectId
$file : File|null = null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
HelpEntity

getCollection()

public getCollection() : mixed
Return values
mixed

update()

public update(HelpEntity $help, array<string|int, mixed> $newHelpData[, File|null $file = null ]) : HelpEntity
Parameters
$help : HelpEntity
$newHelpData : array<string|int, mixed>
$file : File|null = null
Tags
throws
RuntimeException
throws
InvalidArgumentException
Return values
HelpEntity

Search results