class InitializeTenancyByPath extends IdentificationMiddleware (View source)

Properties

static callable|null $onFail
protected Tenancy $tenancy
protected PathTenantResolver $resolver

Methods

initializeTenancy($request, $next, ...$resolverArguments)

No description

__construct(Tenancy $tenancy, PathTenantResolver $resolver)

No description

handle(Request $request, Closure $next)

No description

Details

initializeTenancy($request, $next, ...$resolverArguments)

No description

Parameters

$request
$next
...$resolverArguments

__construct(Tenancy $tenancy, PathTenantResolver $resolver)

No description

Parameters

Tenancy $tenancy
PathTenantResolver $resolver

handle(Request $request, Closure $next)

No description

Parameters

Request $request
Closure $next