corma icon indicating copy to clipboard operation
corma copied to clipboard

Refactor Relationship Save + Load

Open thewunder opened this issue 1 year ago • 0 comments

Create Attributes and Handler Interface

Move logic for each relationship type into a RelationshipHandler classes which have the following methods:

  • public static getRelationshipClass(): string
  • load(array $objects, string $property): array
  • save(array $objects, string $property): array

thewunder avatar Mar 04 '24 22:03 thewunder