title | footer |
---|---|
\leantime\domain\services\notifications\messengers |
false |
- Full name:
\leantime\domain\services\notifications\messengers
__construct - get database connection
public messengers::__construct(): mixed
Return Value:
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
private messengers::slackWebhook(\leantime\domain\models\notifications\notification $notification): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
notification |
\leantime\domain\models\notifications\notification |
Return Value:
mattermostWebhook
private messengers::mattermostWebhook(\leantime\domain\models\notifications\notification $notification): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
notification |
\leantime\domain\models\notifications\notification |
Return Value:
zulipWebhook
private messengers::zulipWebhook(\leantime\domain\models\notifications\notification $notification): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
notification |
\leantime\domain\models\notifications\notification |
Return Value:
mattermostWebhook
public messengers::discordWebhook(\leantime\domain\models\notifications\notification $notification): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
notification |
\leantime\domain\models\notifications\notification |
Return Value:
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