From 5bbd09576ed5d5607f9207db493bd13fbd88e4db Mon Sep 17 00:00:00 2001 From: Abrar Ahmad Date: Wed, 23 Nov 2022 16:17:44 +0500 Subject: [PATCH] tenantUnwareFeature interface --- src/Contracts/TenantUnwareFeature.php | 10 ++++++++++ src/Features/CrossDomainRedirect.php | 12 +++--------- 2 files changed, 13 insertions(+), 9 deletions(-) create mode 100644 src/Contracts/TenantUnwareFeature.php diff --git a/src/Contracts/TenantUnwareFeature.php b/src/Contracts/TenantUnwareFeature.php new file mode 100644 index 00000000..498774c9 --- /dev/null +++ b/src/Contracts/TenantUnwareFeature.php @@ -0,0 +1,10 @@ +tenancy); - } - - public function bootstrap(Tenancy $tenancy): void + public function bootstrap(): void { RedirectResponse::macro('domain', function (string $domain) { /** @var RedirectResponse $this */