Метод assertConstructIsAlone
Сигнатура метода
private static function assertConstructIsAlone(string $type, array $config): void
Возвращает:
void
Описание
A step body is wired by one construct: it says where a single continuation goes, or where each of several go, or what runs inside the step - and two of them in one body mean one was written for nothing. The parse looks at the constructs in an order of its own, so without this the body would be accepted and everything under the construct it looks at second would be gone without a word.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
string
|
—
|
—
|
$config
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php
Расположение метода в файле
Строки
452–474