interface Syncable (View source)

Methods

string
getGlobalIdentifierKeyName()

No description

string|int
getGlobalIdentifierKey()

No description

string
getCentralModelName()

No description

array
getSyncedAttributeNames()

No description

void
triggerSyncEvent()

No description

array|null
getSyncedCreationAttributes()

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).

bool
shouldSync()

No description

Details

string getGlobalIdentifierKeyName()

No description

Return Value

string

string|int getGlobalIdentifierKey()

No description

Return Value

string|int

string getCentralModelName()

No description

Return Value

string

array getSyncedAttributeNames()

No description

Return Value

array

void triggerSyncEvent()

No description

Return Value

void

array|null getSyncedCreationAttributes()

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).

Return Value

array|null

bool shouldSync()

No description

Return Value

bool