mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 19:14:03 +00:00
Redis SD TODO message
This commit is contained in:
parent
8d73381eae
commit
b282c67032
1 changed files with 2 additions and 0 deletions
|
|
@ -83,6 +83,8 @@ class RedisStorageDriver implements StorageDriver
|
|||
return $this->makeTenant($data);
|
||||
}
|
||||
|
||||
// TODO find by *
|
||||
|
||||
public function getTenantIdByDomain(string $domain): ?string
|
||||
{
|
||||
return $this->redis->hget("domains:$domain", 'tenant_id') ?: null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue