mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 23:54:03 +00:00
Tenant-specific connections, some work to get tests running
This commit is contained in:
parent
e25a01a997
commit
c65b6839ff
13 changed files with 162 additions and 67 deletions
|
|
@ -48,6 +48,14 @@ interface StorageDriver
|
|||
*/
|
||||
public function ensureTenantCanBeCreated(Tenant $tenant): void;
|
||||
|
||||
/**
|
||||
* Set default tenant (will be used for get/put when no tenant is supplied).
|
||||
*
|
||||
* @param Tenant $tenant
|
||||
* @return self
|
||||
*/
|
||||
public function withDefaultTenant(Tenant $tenant);
|
||||
|
||||
/**
|
||||
* Get a value from storage.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue