Метод __construct
Сигнатура метода
public function __construct(string $type, array $props = [], ?string $id = null, ?string $innerId = null, ?string $innerType = null, bool $isCondition = false, array $conditions = [], array $trueBranch = [], array $falseBranch = [], bool $isComposite = false, array $childSteps = [], bool $isBranches = false, array $branches = [], ?ActivityDescriptorConfig $nodeDescriptor = null, ?array $activityTail = null, bool $isFanout = false, array $fanout = [], ?string $refId = null, array $attachments = [])
Параметры
19| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$type
|
string
|
—
|
—
|
$props
|
array
|
[]
|
—
|
$id
|
?string
|
null
|
—
|
$innerId
|
?string
|
null
|
—
|
$innerType
|
?string
|
null
|
—
|
$isCondition
|
bool
|
false
|
—
|
$conditions
|
array
|
[]
|
—
|
$trueBranch
|
array
|
[]
|
—
|
$falseBranch
|
array
|
[]
|
—
|
$isComposite
|
bool
|
false
|
—
|
$childSteps
|
array
|
[]
|
—
|
$isBranches
|
bool
|
false
|
—
|
$branches
|
array
|
[]
|
—
|
$nodeDescriptor
|
?ActivityDescriptorConfig
|
null
|
—
|
$activityTail
|
?array
|
null
|
—
|
$isFanout
|
bool
|
false
|
—
|
$fanout
|
array
|
[]
|
—
|
$refId
|
?string
|
null
|
—
|
$attachments
|
array
|
[]
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php
Расположение метода в файле
Строки
87–121