DomainTenantResolver
class DomainTenantResolver extends CachedTenantResolver (View source)
Properties
protected Repository | $cache | from CachedTenantResolver | |
static Domain | $currentDomain | The model representing the domain that the tenant was identified on. |
Methods
resolveWithoutCache(mixed ...$args)
No description
array
getArgsForTenant(Tenant $tenant)
Get all the arg combinations for resolve() that can be used to find this tenant.
void
Details
__construct(Factory $cache)
No description
Tenant
resolve(mixed ...$args)
Resolve a tenant using some value.
void
invalidateCache(Tenant $tenant)
No description
string
getCacheKey(mixed ...$args)
No description
Tenant
resolveWithoutCache(mixed ...$args)
No description
void
resolved(Tenant $tenant, mixed ...$args)
No description
array
getArgsForTenant(Tenant $tenant)
Get all the arg combinations for resolve() that can be used to find this tenant.
static bool
shouldCache()
No description
static int
cacheTTL()
No description
static string|null
cacheStore()
No description
protected void
setCurrentDomain(Tenant $tenant, string $domain)
No description