Метод enumerateItems
Сигнатура метода
private function enumerateItems(mixed $value): Generator
Возвращает:
Generator
Описание
Yields the items of a collection that have a representation, in the order CBPHelper::flatten() lays them out: leaves only, any depth, keys dropped, a value that is not an array is a collection of one. Streaming instead of flattening keeps the memory of the capture at the items the snapshot keeps, not at the size of the collection the run produced.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$value
|
mixed
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/LastValues/ValuesCollector.php
Расположение метода в файле
Строки
343–363