Метод scalarOf
Сигнатура метода
private function scalarOf(string $path, mixed $value, array &$errors): mixed
Возвращает:
mixed
Описание
A scalar of the contract, read as the type the published projection gives it. Null clears the path and needs no type at all.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$path
|
string
|
—
|
—
|
$value
|
mixed
|
—
|
—
|
$errors
|
array
|
—
|
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/V2/Infrastructure/Rest/Dto/Mapping/Form/FormWriteRequestMapper.php
Расположение метода в файле
Строки
589–598