1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-14 04:14:05 +00:00

TenantManager storage

This commit is contained in:
Samuel Štancl 2019-09-08 17:18:31 +02:00
parent de54b5708c
commit 4872197fb6
3 changed files with 45 additions and 4 deletions

View file

@ -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;