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:
parent
dc540f3b10
commit
b0d119753d
6 changed files with 11 additions and 20 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue