interface SyncMaster implements Syncable (View source)

Properties

Tenant[]|Collection read-only $tenants

Methods

string
getGlobalIdentifierKeyName()

No description

from  Syncable
string|int
getGlobalIdentifierKey()

No description

from  Syncable
string
getCentralModelName()

No description

from  Syncable
array
getSyncedAttributeNames()

No description

from  Syncable
void
triggerSyncEvent()

No description

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

from  Syncable
bool
shouldSync()

No description

from  Syncable
BelongsToMany
tenants()

No description

string
getTenantModelName()

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

BelongsToMany tenants()

No description

Return Value

BelongsToMany

string getTenantModelName()

No description

Return Value

string