Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
16–24
~/bitrix/modulesim/lib/V2/Reading/Pull/ReadMessagesForOpponent.php
Исходный код
Сигнатура метода
public function __construct(Chat $chat, MessageCollection $viewedMessages, int $userId, int $lastId)
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chat
|
Chat
|
-
|
-
|
$viewedMessages
|
MessageCollection
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$lastId
|
int
|
-
|
-
|