Метод assertKnownKeys
Сигнатура метода
public static function assertKnownKeys(string $context, array $data, array $allowedKeys): void
Возвращает:
void
Описание
Refuses a key its level of the format does not parse. Dropping an unknown key silently is what the closed lists remove: the author of an agent used to learn about a misspelled or never-supported key only by the missing effect.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$context
|
string
|
—
|
—
|
$data
|
array
|
—
|
—
|
$allowedKeys
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/AgentConfig/AgentConfig.php
Расположение метода в файле
Строки
124–136