Метод disable

public

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

public function disable(string $systemCode, SystemAiAgentContext $context): SystemAiAgentLifecycleResult

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

Описание

Removes the managed instance of the external context completely, or confirms that no binding exists. Unlike an enabling, a removal does not require the delivered system template to still be installed: it works by the explicit binding of the instance alone.

Параметры

2
Имя Тип По умолчанию Флаги
$systemCode string —
—
$context SystemAiAgentContext —
—

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

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

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

Исходный код

PHP