AirLay backend

NotificationService extends AirlayService
in package

Class AirlayService

Table of Contents

$  : AirlayConfig
$collection  : NotificationsCollection
$rabbitmq  : AMQPStreamConnection
$user  : UserEntity
$collection  : mixed
__construct()  : mixed
createIssueNotification()  : bool
createNotification()  : NotificationEntity
getCollection()  : mixed
sendEditorNotification()  : bool
sendIssueNotifications()  : void

Properties

Methods

__construct()

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

getCollection()

public getCollection() : mixed
Return values
mixed

sendEditorNotification()

public sendEditorNotification(ObjectId $userId, string $type, string $message) : bool
Parameters
$userId : ObjectId
$type : string
$message : string
Return values
bool

Search results