Метод buildReference
Сигнатура метода
private function buildReference(string $refId, ?NodeOutput $previous): ?NodeOutput
Возвращает:
?NodeOutput
Описание
A reference creates no node: it wires the current continuation into the standard input of an already declared one and closes the branch, so that a subgraph reachable from two triggers is written once. Whether the node exists is checked once every flow is built - a reference may point forward, and across the boundary of its own flow.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$refId
|
string
|
—
|
—
|
$previous
|
?NodeOutput
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateBuilder/TemplateBuilder.php
Расположение метода в файле
Строки
387–394