Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
15–23
~/bitrix/modulesim/lib/V2/Integration/AI/Dto/Message.php
Исходный код
Сигнатура метода
public function __construct(int $id, string $text, Bitrix\Main\Type\DateTime $dateCreate, string $authorName, ?ForwardInfo $forwardInfo, array $files, ?Message $reply)
Параметры
7| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
-
|
-
|
$text
|
string
|
-
|
-
|
$dateCreate
|
Bitrix\Main\Type\DateTime
|
-
|
-
|
$authorName
|
string
|
-
|
-
|
$forwardInfo
|
?ForwardInfo
|
-
|
-
|
$files
|
array
|
-
|
-
|
$reply
|
?Message
|
-
|
-
|