Метод forgetClassification

public

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

public function forgetClassification(int $templateId): void

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

Описание

Drops the remembered classification of one template, so the next producer of it reads the registry again. A template may become managed after it has already been classified: the copy of an enabling instance is created before its binding is written, and a producer that ran during the copy has answered itself "unmanaged" for the rest of the request. The orchestrator calls this right after the binding, otherwise the barrier and every later registration of that template would silently stay a no-op.

Параметры

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

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

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

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

Исходный код

PHP