Метод acquire

public

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

public function acquire(DictionaryType $type, string $id): bool

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

Описание

Whether the writes of the value $id of the dictionary $type are ours for now. A caller that is answered `false` has to give its write up: it did not take the lock and must not release it.

Параметры

2
Имя Тип По умолчанию Флаги
$type DictionaryType —
—
$id string —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Repository/Dictionary/DictionaryValueLockInterface.php
Расположение метода в файле
Строки 24–24

Исходный код

PHP