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