diff --git a/src/Contracts/Syncable.php b/src/Contracts/Syncable.php index 074fc87e..6d2fad85 100644 --- a/src/Contracts/Syncable.php +++ b/src/Contracts/Syncable.php @@ -16,5 +16,8 @@ interface Syncable public function triggerSyncEvent(): void; + /** + * Get the attributes used for creating the *other* model (i.e. tenant if this is the central one, and central if this is the tenant one). + */ public function getSyncedCreationAttributes(): array|null; // todo come up with a better name }