Метод validateBotCodes

private static

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

private static function validateBotCodes(int $templateId, array $producers): ?Result

Возвращает: ?Result

Описание

Refusal of the first produced bot code that cannot be reserved before the start or would not be unique for the copy, or null when the graph produces no bot at all.

Параметры

2
Имя Тип По умолчанию Флаги
$templateId int —
—
$producers array —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentCapabilityValidator.php
Расположение метода в файле
Строки 214–251

Исходный код

PHP