mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 04:34:03 +00:00
wip
This commit is contained in:
parent
993f87717d
commit
5ce24c54b3
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
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
|
```php
|
||||||
|
use Stancl\Tenancy\Interfaces\UniqueIdentifierGenerator;
|
||||||
|
|
||||||
class MyUniqueIDGenerator implements UniqueIdentifierGenerator
|
class MyUniqueIDGenerator implements UniqueIdentifierGenerator
|
||||||
{
|
{
|
||||||
public static function handle(string $domain, array $data): string
|
public static function handle(string $domain, array $data): string
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue