method public ManyToMany::setEntity() Класс: \Bitrix\Main\ORM\Fields\Relations\ManyToMany Сигнатура public setEntity(Entity $entity) : mixed Параметры $entity Entity Возвращаемое значение mixed Исходный файл: source/main/lib/orm/fields/relations/manytomany.php:151