1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
NotificationService.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Collab\Onboarding\Notification;
6
7
use Bitrix\Main\Result;
8
9
class
NotificationService
10
{
14
public
function
__construct
(
private
readonly
array
$notifications)
15
{
16
}
17
18
public
function
send
(
string
$message
,
int
$senderId,
int
$collabId): void
19
{
20
foreach
($this->notifications as $notification)
21
{
22
$notification->send(
$message
, $senderId, $collabId);
23
}
24
}
25
}
Bitrix\Socialnetwork\Collab\Onboarding\Notification\NotificationService
Определения
NotificationService.php:10
Bitrix\Socialnetwork\Collab\Onboarding\Notification\NotificationService\send
send(string $message, int $senderId, int $collabId)
Определения
NotificationService.php:18
Bitrix\Socialnetwork\Collab\Onboarding\Notification\NotificationService\__construct
__construct(private readonly array $notifications)
Определения
NotificationService.php:14
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
$message
$message
Определения
payment.php:8
bitrix
modules
socialnetwork
lib
Collab
Onboarding
Notification
NotificationService.php
Создано системой
1.14.0