Метод reserveNames
Сигнатура метода
public function reserveNames(array $names): void
Возвращает:
void
Описание
Takes the names the source states out of the pool of generated ones, before the build creates its first node. A generated name steps over the names of the nodes already built, and the nodes are built in the order the document writes them down - so without this a step with no '_id' of its own would be given the name a step further down states, and that step would then be refused as a node built twice. The document is allowed to point at a node before declaring it ('_ref' of TPL-05), which makes the position of a declaration no answer to the question whether its name is free.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$names
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateBuilder/ActivityNodeBuilder.php