Interface TenantResolverInterface
Defines the mechanism for resolving a Tenant instance.
This abstraction decouples Core from any concrete Tenant model or storage mechanism. Applications can provide their own resolver implementation and register it in the ui5.php configuration.
Configuration example (config/ui5.php):
'tenant_resolver' => \App\Resolvers\MyTenantResolver::class,
A default fallback resolver is provided in Core that always returns null.
| Methods | ||
|---|---|---|
public
|
resolve(Request $request): TenantInterface|null
|
# |