mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 04:14:05 +00:00
TenantModel putMany
This commit is contained in:
parent
8b2c64c8b1
commit
0fd1d82c68
10 changed files with 88 additions and 46 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue