Метод assertLinkEndpointsExist

private

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

private function assertLinkEndpointsExist(): void

Возвращает: void

Описание

Every link must point at ports the final nodes actually declare after descriptor overrides, and every such port must be of the type the link uses it as. The type is checked here and not where the link is made, because only a construct that writes a port of its own goes through addPort(): a chain of steps and a reference wire the standard ports of a node and add nothing. A port declared as another family would then reach the template as it stands with the link of the chain entering it, and the canvas would read that link as another kind of wiring than the source describes.

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AI/Agent/Generator/TemplateBuilder/TemplateBuilder.php
Расположение метода в файле
Строки 416–488

Исходный код

PHP