mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 04:14:05 +00:00
TenantManager storage
This commit is contained in:
parent
de54b5708c
commit
4872197fb6
3 changed files with 45 additions and 4 deletions
|
|
@ -7,6 +7,9 @@ namespace Stancl\Tenancy\Contracts;
|
|||
use Stancl\Tenancy\Tenant;
|
||||
use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
||||
|
||||
// todo this class now manages types (json encoding)
|
||||
// make sure ids are not json encoded
|
||||
|
||||
interface StorageDriver
|
||||
{
|
||||
public function createTenant(Tenant $tenant): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue