Метод permissionsRequireUpdate

private

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

private function permissionsRequireUpdate(iterable $current, int $roleId, array $desired): bool

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

Описание

No-op optimization: write the role matrix only when the committed rows differ from the desired ones, so an identical payload does not invalidate the role cache.

Параметры

3
Имя Тип По умолчанию Флаги
$current iterable —
—
$roleId int —
—
$desired array —
—

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

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

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

Исходный код

PHP