mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 10:34:04 +00:00
WIP DatabaseManager
This commit is contained in:
parent
af5b7e8558
commit
9dd90746aa
5 changed files with 61 additions and 17 deletions
|
|
@ -9,9 +9,11 @@ use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
|
|||
|
||||
interface StorageDriver
|
||||
{
|
||||
public function createTenant(Tenant $tenant): bool;
|
||||
public function createTenant(Tenant $tenant): void;
|
||||
|
||||
public function updateTenant(Tenant $tenant): bool;
|
||||
public function updateTenant(Tenant $tenant): void;
|
||||
|
||||
public function deleteTenant(Tenant $tenant): void;
|
||||
|
||||
/**
|
||||
* Find a tenant using an id.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue