Метод fromName

public static

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

public static function fromName(string $name): ?static

Возвращает: ?static

Описание

Inherited from OwnerType. Preserves the "null on unconstructable" contract by catching the validation exception that the EntityType constructor throws for non-Item types (e.g. 'INVOICE', 'ORDER').

Параметры

1
Имя Тип По умолчанию Флаги
$name string —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Public/EntityType.php
Расположение метода в файле
Строки 107–117

Исходный код

PHP