Метод classify
Сигнатура метода
private function classify(int $templateId): ?array
Возвращает:
?array
Описание
Classification of the template, remembered for the current request only, or null when the registry cannot be read at all. A failed classification is never remembered and never read as an unmanaged template. Registry tables that are not installed yet are the one exception, and not a failed read: without the tables no managed instance can exist, so nothing is able to break the invariant that no workflow is left without an owner. The barrier sits on the creation path of every workflow of the portal, therefore refusing them all while the files of an update are copied but its script has not run yet would be a far worse answer than the unmanaged path.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/ManagedAgentResourceRegistry.php