Метод resolveSingle
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
152–231
~/bitrix/modulesim/lib/V2/Recent/PreviewSource/CollabPreviewSourceResolver.php
Исходный код
Сигнатура метода
protected function resolveSingle(int $collabChatId, int $userId, array $candidateIds, array $freshUnreadByChat, ?callable $lastOwnLoader = null): PreviewSource
Возвращает:
PreviewSource
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$collabChatId
|
int
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$candidateIds
|
array
|
-
|
-
|
$freshUnreadByChat
|
array
|
-
|
-
|
$lastOwnLoader
|
?callable
|
null
|
-
|