Метод lockById

public

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

public function lockById(int $id): ?ManagedAgentInstance

Возвращает: ?ManagedAgentInstance

Описание

Reads the row and holds it locked until the current transaction ends. Must be called inside a transaction; the caller stays responsible for the logical lock of the identity.

Параметры

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

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

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

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

Исходный код

PHP