1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 19:34:04 +00:00
tenancy/src/Contracts/Syncable.php
Abrar Ahmad 3e514461ca wip
2022-08-16 15:27:34 +05:00

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;
}