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