Метод prepareCopy

private

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

private function prepareCopy(ManagedAgentIdentity $identity, ManagedAgentInstance $instance, array $source, array $configuration): ManagedAgentInstance

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

Описание

One short transaction before the first start: the copy, its prepared parameters and constants, the template binding, the storage scope, the reservations of the absent bot codes and the temporary suppression of the schedules.

Параметры

4
Имя Тип По умолчанию Флаги
$identity ManagedAgentIdentity —
—
$instance ManagedAgentInstance —
—
$source array —
—
$configuration array —
—

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

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

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

Исходный код

PHP