mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 17:34:03 +00:00
Update SyncMaster.php
This commit is contained in:
parent
14dfbd4528
commit
01a3a5fbab
1 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ declare(strict_types=1);
|
|||
namespace Stancl\Tenancy\Contracts;
|
||||
|
||||
use Illuminate\Database\Eloquent\Collection;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
||||
use Illuminate\Database\Eloquent\Relations\MorphToMany;
|
||||
|
||||
// todo move all resource syncing-related things to a separate namespace?
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsToMany;
|
|||
*/
|
||||
interface SyncMaster extends Syncable
|
||||
{
|
||||
//public function tenants(): BelongsToMany;
|
||||
public function resources(): MorphToMany;
|
||||
|
||||
public function getTenantModelName(): string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue