mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 19:34:04 +00:00
Add 'Features'
This commit is contained in:
parent
8c69d7847e
commit
61739dc5fc
5 changed files with 82 additions and 40 deletions
12
src/Contracts/Feature.php
Normal file
12
src/Contracts/Feature.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy\Contracts;
|
||||
|
||||
use Stancl\Tenancy\TenantManager;
|
||||
|
||||
/** Additional features, like Telescope tags and tenant redirects. */
|
||||
interface Feature
|
||||
{
|
||||
// todo is the tenantManager argument necessary?
|
||||
public function bootstrap(TenantManager $tenantManager): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue