Метод generateNextId

private

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

private function generateNextId(): string

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

Описание

Generates deterministic sequential IDs in A0000_0000_0000_NNNN format, stepping over the names already spoken for. The shape is no longer this builder's alone: a source reversed from a template keeps a generated name of the original wherever a step points at that node (TemplateReverser::idIfKept()), and a node the source names does not move the counter. A number is stepped over only where a node already carries that name or the source states it somewhere, so a source without such a collision is numbered exactly as it was before.

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

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

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

Исходный код

PHP