1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 19:24:02 +00:00
This commit is contained in:
Samuel Štancl 2019-08-23 22:48:53 +02:00
parent 993f87717d
commit 5ce24c54b3

View file

@ -21,6 +21,8 @@ return redirect()->route('dashboard')->tenant($tenant['domain']);
If you don't want to use UUIDs and want to use something more human-readable (even domain concatenated with uuid, for example), you can create a custom class for this:
```php
use Stancl\Tenancy\Interfaces\UniqueIdentifierGenerator;
class MyUniqueIDGenerator implements UniqueIdentifierGenerator
{
public static function handle(string $domain, array $data): string