Метод resolve
Сигнатура метода
public function resolve(ManagedAgentIdentity $identity, int $userId, SystemAiAgentActivationParameters $activation, array $source): Result
Возвращает:
Result
Описание
Builds the effective configuration of the activation, or fails with the stable codes of this class and the section in the custom data of every error. Successful data: <ul> <li> configuration: {@see EffectiveConfiguration}, effective values and the configuration fingerprint <li> fields: array<string, array>, payload of every serialized template field of the copy </ul>
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$identity
|
ManagedAgentIdentity
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$activation
|
SystemAiAgentActivationParameters
|
—
|
—
|
$source
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentConfigurationResolver.php
Расположение метода в файле
Строки
76–157