Метод save

public

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

public function save(ManagedAgentResource $resource): ManagedAgentResource

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

Описание

Inserts a new row or updates a stored one and returns the resource with the persisted id.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Repository/AiAgent/ManagedAgentResourceRepositoryInterface.php
Расположение метода в файле
Строки 101–101

Исходный код

PHP