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
$
public
AirlayConfig
$
config
$collection
public
HelpsCollection
$collection
$rabbitmq
public
AMQPStreamConnection
$rabbitmq
$user
public
UserEntity
$user
$collection
protected
mixed
$collection
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
Return values
HelpEntity —delete()
public
delete(HelpEntity $help) : void
Parameters
- $help : HelpEntity
Return values
void —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
Return values
HelpEntity —deleteFile()
private
deleteFile(HelpEntity $help) : void
Parameters
- $help : HelpEntity