Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
17–26
~/bitrix/modulesim/lib/V2/Reading/Counter/Entity/ChatCounter.php
Исходный код
Сигнатура метода
public function __construct(int $chatId, int $counter, int $parentChatId, bool $isMuted, bool $isMarkedAsUnread, array $recentSections, Type $type, bool $requiresParentMembership = true)
Параметры
8| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|
$counter
|
int
|
-
|
-
|
$parentChatId
|
int
|
-
|
-
|
$isMuted
|
bool
|
-
|
-
|
$isMarkedAsUnread
|
bool
|
-
|
-
|
$recentSections
|
array
|
-
|
-
|
$type
|
Type
|
-
|
-
|
$requiresParentMembership
|
bool
|
true
|
-
|