Метод validateId
Сигнатура метода
private static function validateId(mixed $id, string $key = '_id'): string
Возвращает:
string
Описание
The name a node states, as the value under the key that states it: a step without a name leaves the key out, so an explicit null is a value here and no name at all - and the caller, knowing whether the key stands there, is the one to tell the two apart. The key is named by the caller too: a step names its own node by '_id' and the activity a complex wrapper runs inside it by '_inner_id'.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$id
|
mixed
|
—
|
—
|
$key
|
string
|
'_id'
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/StepConfig.php
Расположение метода в файле
Строки
811–824