NotificationSenderService
extends AirlayService
in package
Class EmailSenderService
Table of Contents
- $ : AirlayConfig
- $collection : NotificationSendersCollection
- $rabbitmq : AMQPStreamConnection
- $user : UserEntity
- $collection : mixed
- __construct() : mixed
- create() : NotificationSenderEntity
- getCollection() : mixed
- update() : void
Properties
$
public
AirlayConfig
$
config
$collection
public
NotificationSendersCollection
$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(string $title, ObjectId $templateId, ObjectId $organizationId) : NotificationSenderEntity
Parameters
- $title : string
- $templateId : ObjectId
- $organizationId : ObjectId
Return values
NotificationSenderEntity —getCollection()
public
getCollection() : mixed
Return values
mixed —update()
public
update(NotificationSenderEntity $notificationSender[, string|null $title = null ][, ObjectId|null $templateId = null ]) : void
Parameters
- $notificationSender : NotificationSenderEntity
- $title : string|null = null
- $templateId : ObjectId|null = null