mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
ramsey uuid
This commit is contained in:
parent
62898ce34d
commit
a4db798119
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class MyUniqueIDGenerator implements UniqueIdentifierGenerator
|
||||||
{
|
{
|
||||||
public static function handle(string $domain, array $data): string
|
public static function handle(string $domain, array $data): string
|
||||||
{
|
{
|
||||||
return $domain . \Webpatser\Uuid\Uuid::generate(1, $domain);
|
return $domain . \Ramsey\Uuid\Uuid::uuid4()->toString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue