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

TenantModel putMany

This commit is contained in:
Samuel Štancl 2019-09-15 11:01:24 +02:00
parent 8b2c64c8b1
commit 0fd1d82c68
10 changed files with 88 additions and 46 deletions

View file

@ -7,8 +7,7 @@ namespace Stancl\Tenancy\Contracts;
use Stancl\Tenancy\TenantManager;
/** Additional features, like Telescope tags and tenant redirects. */
// todo interface name. Feature, FeatureProvider, ProvidesFeature(s)
interface FeatureProvider
interface Feature
{
public function bootstrap(TenantManager $tenantManager): void;
}

View file

@ -8,7 +8,7 @@ use Stancl\Tenancy\Tenant;
interface TenancyBootstrapper
{
public function start(Tenant $tenant);
public function start(Tenant $tenant); // todo TenantManager instead of Tenant
public function end();
}