Метод assertExpectedVersion
Сигнатура метода
private static function assertExpectedVersion(WebForm $form, DateTime $expectedModifiedTime): void
Возвращает:
void
Описание
Compares the version against the read the scenario has already made: the row was read a step above, nothing writes between the two, and a read of its own would answer the same value. The comparison moves no version - the claim standing after it may still refuse to run.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$form
|
WebForm
|
—
|
—
|
$expectedModifiedTime
|
DateTime
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Internal/Service/WebForm/FormWriter.php
Расположение метода в файле
Строки
493–500