Метод parseJoiner

private static

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

private static function parseJoiner(array $data): int

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

Описание

How the condition joins the next one: 0 for 'and', 1 for 'or'. The designer writes it as a number, and templates made by hand carry the strings of {@see self::STRING_JOINERS} too, so both are read - and nothing else is, in either shape. The cast that used to stand here turned any value at all into one of the two without a word, and a string outside the set went the same way: '"joiner": "maybe"' joined by 'and'. The refusal names the type where the type is what went wrong and the value where the shape is right and the value is not: 'got array' says everything about a list, while 'got 2' is the whole of what is wrong with 2.

Параметры

1
Имя Тип По умолчанию Флаги
$data array —
—

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

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

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

Исходный код

PHP