InitializeTenancyBySubdomain
class InitializeTenancyBySubdomain extends InitializeTenancyByDomain (View source)
Properties
static Closure|null | $onFail | ||
Tenancy | $tenancy | from IdentificationMiddleware | |
TenantResolver | $resolver | from IdentificationMiddleware | |
static int | $subdomainIndex | The index of the subdomain fragment in the hostname
split by |
Methods
Details
mixed
initializeTenancy(Request $request, Closure $next, mixed ...$resolverArguments)
No description
__construct(Tenancy $tenancy, DomainTenantResolver $resolver)
No description
mixed
handle(Request $request, Closure $next)
No description
protected string|Response|Exception|mixed
makeSubdomain(string $hostname)
No description