Метод resolve

public

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

public function resolve(array $targetDocumentType): ?RelationFieldResolver

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

Описание

Resolves the relation-field resolver owned by the target document module. Design-time only: there is no live \CBPActivity, so the owner module is taken from the target documentType triplet. Returns null when the module owns no resolver (fail-open - the caller treats it as "no relation fields"). Applicability is decided by the caller via RelationFieldResolver::supports(); this registry never calls supports() itself.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Public/Activity/Registry/RelationFieldResolverRegistry.php
Расположение метода в файле
Строки 28–42

Исходный код

PHP