Метод validate
Сигнатура метода
public function validate(array $source): Result
Возвращает:
Result
Описание
Confirms the capability contract of the resolved source, or fails with a stable internal code and a stable reason in the custom data of the error. No value of the caller is carried by a rejection.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$source
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentCapabilityValidator.php
Расположение метода в файле
Строки
124–149