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

Add 'Features'

This commit is contained in:
Samuel Štancl 2019-09-08 11:11:44 +02:00
parent 8c69d7847e
commit 61739dc5fc
5 changed files with 82 additions and 40 deletions

12
src/Contracts/Feature.php Normal file
View 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;
}