Метод parseActivityTail
Сигнатура метода
public static function parseActivityTail(string $context, mixed $raw): array
Возвращает:
array
Описание
The tail of an activity: the keys of it the format has no way of its own to state - 'Document' and whatever else the designer wrote beside the activity, a preset id for one. A step stating the tail states it in full: the build writes exactly these keys and nothing more, so an empty map is a node with no tail at all, while a step stating no tail keeps the tail the build has always written. A tail written as a list is refused the way one written as a string is: the build would join it with the activity and write keys like '"0": "Preset"' into the node. Only a non-empty list is refused - an empty JSON object and an empty JSON list are one and the same value after decoding, and an empty tail is the form a node with no tail at all is written as.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$context
|
string
|
—
|
—
|
$raw
|
mixed
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php