Метод rememberRegistryUse

private

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

private function rememberRegistryUse(): void

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

Описание

Remembers that this portal owns a managed resource, which happens once in its life. The object is marked before the option is written, so that the invariant of {@see self::findIdByTypeAndResourceId()} holds even while the option cannot be stored at all. The stored flag is read before it is written, because a write of an unchanged value would still invalidate the option cache of the module and raise its event on every request that registers a resource.

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

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

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

Исходный код

PHP