Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
21–32
~/bitrix/modulesim/lib/V2/Public/Dto/MessageHistory/MessageItem.php
Исходный код
Сигнатура метода
public function __construct(int $id, int $chatId, int $authorId, string $text, DateTime $dateCreate, ?ReplyItem $reply, array $files, ?AttachItem $attach)
Параметры
8| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
-
|
-
|
$chatId
|
int
|
-
|
-
|
$authorId
|
int
|
-
|
-
|
$text
|
string
|
-
|
-
|
$dateCreate
|
DateTime
|
-
|
-
|
$reply
|
?ReplyItem
|
-
|
-
|
$files
|
array
|
-
|
-
|
$attach
|
?AttachItem
|
-
|
-
|