Метод remember
Сигнатура метода
public function remember(int $userId, int $activityId, Operation $operation, Closure $decide): AccessDecision
Возвращает:
AccessDecision
Описание
The decision for this user, activity and operation: the one taken before, or the one the closure takes now and this cache remembers.
Параметры
4| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$userId
|
int
|
—
|
—
|
$activityId
|
int
|
—
|
—
|
$operation
|
Operation
|
—
|
—
|
$decide
|
Closure
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Access/Activity/DecisionCache.php
Расположение метода в файле
Строки
42–56