Метод keepInvariant
Сигнатура метода
public function keepInvariant(): bool
Возвращает:
bool
Описание
Synchronizes the AI_AGENT section and then always runs the restore, no matter whether the synchronization succeeded and whether it happened to invoke a lifecycle hook: the install hook fires once per portal and the update hook does not fire for an unchanged blueprint, so neither of them can be relied on to create the missing copy, and only the restore can tell a failed cycle from a copy that is already there.
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/agent/copilot/callscoringv2bootstrapagent.php
Расположение метода в файле
Строки
107–180