mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 12:54:05 +00:00
Shared users - complete
This commit is contained in:
parent
daae67c0f7
commit
b7c8f1fba7
12 changed files with 488 additions and 56 deletions
|
|
@ -4,12 +4,12 @@ declare(strict_types=1);
|
|||
|
||||
namespace Stancl\Tenancy\Contracts;
|
||||
|
||||
use Stancl\Tenancy\Database\Models\Tenant;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
interface UniqueIdentifierGenerator
|
||||
{
|
||||
/**
|
||||
* Generate a unique identifier.
|
||||
*/
|
||||
public static function generate(Tenant $tenant): string;
|
||||
public static function generate(Model $model): string;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue