Метод mapCollection
Сигнатура метода
public function mapCollection(array $items, array $fields = []): DtoCollection
Возвращает:
DtoCollection
Описание
The method publishes no projection, so the whole model is mapped and $fields stays unused.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$items
|
array
|
—
|
—
|
$fields
|
array
|
[]
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Form/EmbeddingDtoMapper.php
Расположение метода в файле
Строки
31–45