Метод mapFromEntity
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
63–90
~/bitrix/modulestasks/lib/V2/Internal/Integration/AiAssistant/Provider/Mapper/TaskResponseMapper.php
Исходный код
Сигнатура метода
public function mapFromEntity(Task $task, int $userId, ?CheckList $checkList = null, ?ResultCollection $results = null, ?array $permissions = null, ?string $groupDisplayType = null): array
Возвращает:
array
Параметры
6| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$task
|
Task
|
-
|
-
|
$userId
|
int
|
-
|
-
|
$checkList
|
?CheckList
|
null
|
-
|
$results
|
?ResultCollection
|
null
|
-
|
$permissions
|
?array
|
null
|
-
|
$groupDisplayType
|
?string
|
null
|
-
|