Метод resolveConfiguration
Сигнатура метода
private function resolveConfiguration(ManagedAgentIdentity $identity, int $userId, SystemAiAgentActivationParameters $activation, array $source): Result
Возвращает:
Result
Описание
Effective configuration of the activation, built against the declarations that are really written into the copy. The first pass validates the values of the caller against the declarations of the source and produces the fields of the copy; the second pass repeats the very same validation against those fields. The stored signature is therefore the one a repeated activation of the same values reproduces from the copy alone, which is what {@see self::verifyCopy()} relies on.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$identity
|
ManagedAgentIdentity
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$activation
|
SystemAiAgentActivationParameters
|
—
|
—
|
$source
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки
1642–1664