Метод adopt
Сигнатура метода
private function adopt(int $instanceId, string $resourceId, ManagedResourceCleanupBudget $budget): void
Возвращает:
void
Описание
Registers the scope of the copy that has no ownership row yet, which closes the window between the binding of the copy and its registration.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$instanceId
|
int
|
—
|
—
|
$resourceId
|
string
|
—
|
—
|
$budget
|
ManagedResourceCleanupBudget
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/StorageScopeCleanup.php
Расположение метода в файле
Строки
282–296