src/Contracts/Factories/FactoryInterface.php
/**
     * Create relationship that represents resource.
     *
     * @param SchemaContainerInterface $schemaContainer
     * @param EditableContextInterface $context
     * @param PositionInterface        $position
     * @param mixed                    $resource
     *
     * @return RelationshipDataInterface
     */
Create relationship that represents resource.


Create relationship that represents resource .
public function createRelationshipDataIsResource(
        SchemaContainerInterface $schemaContainer,
        EditableContextInterface $context,
        PositionInterface $position,
        $resource
    ): RelationshipDataInterface;
public function createRelationshipDataIsResource ( SchemaContainerInterface $ schemaContainer , EditableContextInterface $ context , PositionInterface $ position , $ resource ) : RelationshipDataInterface ;
Create relationship that represents resource.
Create relationship that represents resource .