Метод assertBindingStatesItsNodeAndNothingElse
Сигнатура метода
private static function assertBindingStatesItsNodeAndNothingElse(string $context, string $type, array $data): void
Возвращает:
void
Описание
Everything a binding says about its node it says in the body of that node, and the keys that continue the flow or name an activity inside a complex wrapper mean nothing to a bound node at all. A key beside the type of the node is refused the way {@see self::refFromArray()} refuses one beside '_ref': the parse reads the body of the type key alone, so anything next to it would be lost silently. The body itself has to be a map: the parse takes anything else for no body at all and creates the node without the data the binding does state. A bound node with nothing to state is the shorthand of a step without properties - the type of the activity written as a string - so no other form is left to mean it.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$context
|
string
|
—
|
—
|
$type
|
string
|
—
|
—
|
$data
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php