Метод collectNodes

private static

Сигнатура метода

private static function collectNodes(array $activity, array &$nodes, array &$repeatedNames): void

Возвращает: void

Описание

An activity and everything running inside it. The first activity of a name is the one kept: the two templates are matched node by node under that name, so a second activity of the same name would take the place of the first and leave it compared against nothing. Templates hold their names unique - the build refuses the second (ActivityNodeBuilder::takeName()) - and the repetition is answered instead of relied on.

Параметры

3
Имя Тип По умолчанию Флаги
$activity array —
—
$nodes array —
by-ref
$repeatedNames array —
by-ref

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateReverser/TemplateComparator.php
Расположение метода в файле
Строки 856–875

Исходный код

PHP