Skip to content

Latest commit

 

History

History
220 lines (82 loc) · 2.66 KB

File metadata and controls

220 lines (82 loc) · 2.66 KB
title footer
\leantime\domain\services\notifications\messengers
false

messengers

  • Full name: \leantime\domain\services\notifications\messengers

Methods

__construct

__construct - get database connection

public messengers::__construct(): mixed

Return Value:


sendNotificationToMessengers

public messengers::sendNotificationToMessengers(\leantime\domain\models\notifications\notification $notification, mixed $projectName, array|string $messengers = "all"): void

Parameters:

Parameter Type Description
notification \leantime\domain\models\notifications\notification
projectName mixed
messengers **array string**

Return Value:


slackWebhook

slackWebhook

private messengers::slackWebhook(\leantime\domain\models\notifications\notification $notification): mixed

Parameters:

Parameter Type Description
notification \leantime\domain\models\notifications\notification

Return Value:


mattermostWebhook

mattermostWebhook

private messengers::mattermostWebhook(\leantime\domain\models\notifications\notification $notification): mixed

Parameters:

Parameter Type Description
notification \leantime\domain\models\notifications\notification

Return Value:


zulipWebhook

zulipWebhook

private messengers::zulipWebhook(\leantime\domain\models\notifications\notification $notification): mixed

Parameters:

Parameter Type Description
notification \leantime\domain\models\notifications\notification

Return Value:


discordWebhook

mattermostWebhook

public messengers::discordWebhook(\leantime\domain\models\notifications\notification $notification): mixed

Parameters:

Parameter Type Description
notification \leantime\domain\models\notifications\notification

Return Value:


prepareMessage

public messengers::prepareMessage(\leantime\domain\models\notifications\notification $notification): array

Parameters:

Parameter Type Description
notification \leantime\domain\models\notifications\notification

Return Value:



Automatically generated from source code comments on 2023-02-28 using phpDocumentor