mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:44:02 +00:00
18 lines
368 B
PHP
18 lines
368 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Stancl\Tenancy\Contracts;
|
|
|
|
use Illuminate\Database\Eloquent\Collection;
|
|
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
|
|
|
/**
|
|
* @property-read Tenant[]|Collection $tenants
|
|
*/
|
|
interface SyncMaster extends Syncable
|
|
{
|
|
public function tenants(): BelongsToMany;
|
|
|
|
public function getTenantModelName(): string;
|
|
}
|