Метод __construct
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
13–25
~/bitrix/modulestasks/lib/V2/Internal/Integration/Im/Action/NotifyChecklistFilesAdded.php
Исходный код
Сигнатура метода
public function __construct(Entity\Task $task, MessageSenderInterface $sender, ?Entity\User $triggeredBy = null, ChatActionLinkService $chatActionLinkService, int $fileCount = 1, string $checklistName = '', ?int $checkListId = null, array $itemIds = [])
Параметры
8| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$task
|
Entity\Task
|
-
|
-
|
$sender
|
MessageSenderInterface
|
-
|
-
|
$triggeredBy
|
?Entity\User
|
null
|
-
|
$chatActionLinkService
|
ChatActionLinkService
|
-
|
-
|
$fileCount
|
int
|
1
|
-
|
$checklistName
|
string
|
''
|
-
|
$checkListId
|
?int
|
null
|
-
|
$itemIds
|
array
|
[]
|
-
|