SyncMaster
interface SyncMaster implements Syncable (View source)
Properties
Tenant[]|Collection read-only | $tenants |
Methods
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
BelongsToMany
tenants()
No description
string
getTenantModelName()
No description
Details
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
BelongsToMany
tenants()
No description
string
getTenantModelName()
No description