Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
13–19
~/bitrix/modulesim/lib/V2/Message/Sticker/PackItem.php
Исходный код
Сигнатура метода
public function __construct(int $id, string $name, PackType $type, StickerCollection $stickers, ?int $authorId = null)
Параметры
5| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
int
|
-
|
-
|
$name
|
string
|
-
|
-
|
$type
|
PackType
|
-
|
-
|
$stickers
|
StickerCollection
|
-
|
-
|
$authorId
|
?int
|
null
|
-
|