From f4f692dd4dd6316ac24c8cdb8f2deb1d9077fb96 Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Wed, 28 Sep 2022 10:36:27 +0500 Subject: [PATCH] comments --- src/Contracts/Syncable.php | 3 +++ 1 file changed, 3 insertions(+) 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 }