Tenant
interface Tenant mixin Model (View source)
Methods
string
getTenantKeyName()
Get the name of the key used for identifying the tenant.
getTenantKey()
Get the value of the key used for identifying the tenant.
getInternal(string $key)
Get the value of an internal key.
setInternal(string $key, $value)
Set the value of an internal key.
run(callable $callback)
Run a callback in this tenant's environment.
void
__call(string $method, array $parameters)
IDE support. This will be a model.
static void
__callStatic(string $method, array $parameters)
IDE support. This will be a model.
Details
string
getTenantKeyName()
Get the name of the key used for identifying the tenant.
getTenantKey()
Get the value of the key used for identifying the tenant.
getInternal(string $key)
Get the value of an internal key.
setInternal(string $key, $value)
Set the value of an internal key.
run(callable $callback)
Run a callback in this tenant's environment.
void
__call(string $method, array $parameters)
IDE support. This will be a model.
static void
__callStatic(string $method, array $parameters)
IDE support. This will be a model.