Метод normalize
Сигнатура метода
public static function normalize(array $data, ManagedAgentResourceType $type): ?array
Возвращает:
?array
Описание
Payload of the closed schema of the type with its version, or null when a key, a value or the stored version is outside the schema.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$data
|
array
|
—
|
—
|
$type
|
ManagedAgentResourceType
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/ValueObject/ManagedAgentResourcePayload.php
Расположение метода в файле
Строки
65–91