Метод isNodeTrustworthy
Сигнатура метода
public function isNodeTrustworthy(string $activityType, ?ActivityDescriptorConfig $descriptor): bool
Возвращает:
bool
Описание
A node is trustworthy when its activity resolves in this environment, or when the source descriptor states every field the builder would otherwise read from the registry. A partial descriptor is not enough: the fields it leaves out still come from the registry defaults.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$activityType
|
string
|
—
|
—
|
$descriptor
|
?ActivityDescriptorConfig
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateBuilder/StrictActivityResolver.php
Расположение метода в файле
Строки
29–32