Метод assertInnerActivityShorthandCarriesNoConstruct
Сигнатура метода
private static function assertInnerActivityShorthandCarriesNoConstruct(string $type, array $config): void
Возвращает:
void
Описание
The shorthand asks the build to create the Rules of a sequential complex wrapper from the one activity it names, and a body carrying a construct is built as that construct instead - a condition, a fan-out, one branch per port, a composite body - and none of them looks at the shorthand. Its keys are reserved, so they are out of the properties by then too: the wrapper would be written without the activity it declares - the very loss the build refuses one step later for a wrapper this environment cannot confirm as one. A wrapper wired by a construct states its Rules itself, the way a reversed source writes every wrapper it prints.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
string
|
—
|
—
|
$config
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php