Метод conditionBranch
Сигнатура метода
private static function conditionBranch(string $type, array $config, string $branch): array
Возвращает:
array
Описание
A branch of a condition, as the body of the step states it: no key at all is a branch with no steps in it, so an explicit null is a value here and refused with the rest. It used to reach '??' and become the empty branch, and the steps the author did write under the key were gone without a word.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
string
|
—
|
—
|
$config
|
array
|
—
|
—
|
$branch
|
string
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php
Расположение метода в файле
Строки
540–554