1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 21:34:03 +00:00
This commit is contained in:
Abrar Ahmad 2022-11-23 10:03:25 +05:00
parent 9520cbc811
commit 36afb7dbdd
4 changed files with 29 additions and 0 deletions

View file

@ -10,6 +10,11 @@ use Stancl\Tenancy\Tenancy;
class CrossDomainRedirect implements Feature
{
public function __construct(protected Tenancy $tenancy)
{
dd($this->tenancy);
}
public function bootstrap(Tenancy $tenancy): void
{
RedirectResponse::macro('domain', function (string $domain) {