Метод buildCounterItem
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
190–215
~/bitrix/modulesim/lib/V2/Public/Dto/Counter/ChatCounterCollection.php
Исходный код
Сигнатура метода
private static function buildCounterItem(int $chatId, UserCounters $counters, array $childrenByParentId, array $parentByChatId, array $path): ?ChatCounterItem
Возвращает:
?ChatCounterItem
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|
$counters
|
UserCounters
|
-
|
-
|
$childrenByParentId
|
array
|
-
|
-
|
$parentByChatId
|
array
|
-
|
-
|
$path
|
array
|
-
|
-
|