Метод mapCollection
Сигнатура метода
public function mapCollection(array $items, array $fields = [], array $nestedFields = []): DtoCollection
Возвращает:
DtoCollection
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$items
|
array
|
—
|
—
|
$fields
|
array
|
[]
|
—
|
$nestedFields
|
array
|
[]
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/MyCompany/BasicCompanyDtoMapper.php
Расположение метода в файле
Строки
24–35