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

Remove some todos

This commit is contained in:
Samuel Štancl 2019-09-08 14:40:49 +02:00
parent dc540f3b10
commit b0d119753d
6 changed files with 11 additions and 20 deletions

View file

@ -10,6 +10,5 @@ use Stancl\Tenancy\TenantManager;
// todo should this be FeatureProvider?
interface Feature
{
// todo is the tenantManager argument necessary?
public function bootstrap(TenantManager $tenantManager): void;
}

View file

@ -9,9 +9,9 @@ use Stancl\Tenancy\Exceptions\TenantCouldNotBeIdentifiedException;
interface StorageDriver
{
public function createTenant(Tenant $tenant): bool; // todo return type
public function createTenant(Tenant $tenant): bool;
public function updateTenant(Tenant $tenant): bool; // todo return type
public function updateTenant(Tenant $tenant): bool;
/**
* Find a tenant using an id.

View file

@ -8,7 +8,6 @@ use Stancl\Tenancy\Tenant;
interface TenancyBootstrapper
{
public function start(Tenant $tenant); // todo better name?
public function end(Tenant $tenant); // todo arg?
public function start(Tenant $tenant);
public function end();
}