Метод refuseOutsideTheWriteContract
Сигнатура метода
private static function refuseOutsideTheWriteContract(string $path, bool $isPublished, array &$errors): void
Возвращает:
void
Описание
Refuses a path the write contract does not carry, by what the published projection says about it: a property a client can read back is refused as a value that may not be written, and one the projection has never heard of is answered as an unavailable property, the way the framework answers it.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$path
|
string
|
—
|
—
|
$isPublished
|
bool
|
—
|
—
|
$errors
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Form/FormWriteRequestMapper.php
Расположение метода в файле
Строки
609–617