class UpdateSyncedResource extends QueueableListener (View source)

Properties

static $shouldQueue

Methods

shouldQueue($event)

No description

void
handle(object $event)

No description

getTenantsForCentralModel($centralModel)

No description

updateResourceInCentralDatabaseAndGetTenants($event, $syncedAttributes)

No description

updateResourceInTenantDatabases($tenants, $event, $syncedAttributes)

No description

Details

shouldQueue($event)

No description

Parameters

$event

void handle(object $event)

No description

Parameters

object $event

Return Value

void

protected getTenantsForCentralModel($centralModel)

No description

Parameters

$centralModel

protected updateResourceInCentralDatabaseAndGetTenants($event, $syncedAttributes)

No description

Parameters

$event
$syncedAttributes

protected updateResourceInTenantDatabases($tenants, $event, $syncedAttributes)

No description

Parameters

$tenants
$event
$syncedAttributes