Метод assertBranchesHaveTheirCondition

private static

Сигнатура метода

private static function assertBranchesHaveTheirCondition(string $type, array $config): void

Возвращает: void

Описание

A branch of a condition is a part of that construct and not one of its own: a body carrying a branch without 'conditions' is no condition, so the parse would read it as a plain activity - and the branch, a reserved key, would be dropped from the properties too, taking every step under it silently.

Параметры

2
Имя Тип По умолчанию Флаги
$type string —
—
$config array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php
Расположение метода в файле
Строки 483–498

Исходный код

PHP