Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
12–20
~/bitrix/modulesim/lib/V2/Public/Dto/Counter/ChatCounterItem.php
Исходный код
Сигнатура метода
public function __construct(int $chatId, int $parentChatId, int $ownCounter, bool $isMuted = false, ?ChatCounterCollection $children = null)
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|
$parentChatId
|
int
|
-
|
-
|
$ownCounter
|
int
|
-
|
-
|
$isMuted
|
bool
|
false
|
-
|
$children
|
?ChatCounterCollection
|
null
|
-
|