class InitializeTenancyByDomainOrSubdomain (View source)

Methods

mixed
handle(Request $request, Closure $next)

Handle an incoming request.

bool
isSubdomain(string $hostname)

No description

Details

mixed handle(Request $request, Closure $next)

Handle an incoming request.

Parameters

Request $request
Closure $next

Return Value

mixed

protected bool isSubdomain(string $hostname)

No description

Parameters

string $hostname

Return Value

bool