mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 21:34:03 +00:00
18 lines
364 B
PHP
18 lines
364 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Contracts;
|
|
|
|
interface Syncable
|
|
{
|
|
public function getGlobalIdentifierKeyName(): string;
|
|
|
|
public function getGlobalIdentifierKey(): string|int;
|
|
|
|
public function getCentralModelName(): string;
|
|
|
|
public function getSyncedAttributeNames(): array;
|
|
|
|
public function triggerSyncEvent(): void;
|
|
}
|