1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 17:34:03 +00:00

Delete BootstrapFeatures.php

This commit is contained in:
Abrar Ahmad 2022-11-25 16:15:59 +05:00
parent f98a02aa9d
commit 7b95becb3d

View file

@ -1,23 +0,0 @@
<?php
declare(strict_types=1);
namespace Stancl\Tenancy\Listeners;
use Illuminate\Contracts\Foundation\Application;
use Stancl\Tenancy\Events\TenancyInitialized;
class BootstrapFeatures
{
public function __construct(
protected Application $app
) {
}
public function handle(TenancyInitialized $event): void
{
foreach ($this->app['config']['tenancy.features'] ?? [] as $feature) {
$this->app[$feature]->bootstrap($event->tenancy);
}
}
}