Tenant
interface Tenant mixin Model (View source)
Methods
string
getTenantKeyName()
Get the name of the key used for identifying the tenant.
int|string
getTenantKey()
Get the value of the key used for identifying the tenant.
mixed
getInternal(string $key)
Get the value of an internal key.
setInternal(string $key, mixed $value)
Set the value of an internal key.
Details
string
getTenantKeyName()
Get the name of the key used for identifying the tenant.
int|string
getTenantKey()
Get the value of the key used for identifying the tenant.
mixed
getInternal(string $key)
Get the value of an internal key.
Tenant
setInternal(string $key, mixed $value)
Set the value of an internal key.
mixed
run(Closure $callback)
Run a callback in this tenant's environment.