TenantWithDatabase
interface TenantWithDatabase implements Tenant (View source)
Methods
getInternal(string $key)
Get an internal key.
static void
__callStatic(string $method, array $parameters)
IDE support. This will be a model.
from
Tenant
database()
No description
Details
in
Tenant at line 17
string
getTenantKeyName()
Get the name of the key used for identifying the tenant.
in
Tenant at line 20
getTenantKey()
Get the value of the key used for identifying the tenant.
getInternal(string $key)
Get an internal key.
in
Tenant at line 26
setInternal(string $key, $value)
Set the value of an internal key.
in
Tenant at line 29
run(callable $callback)
Run a callback in this tenant's environment.
in
Tenant at line 14
void
__call(string $method, array $parameters)
IDE support. This will be a model.
in
Tenant at line 14
static void
__callStatic(string $method, array $parameters)
IDE support. This will be a model.
DatabaseConfig
database()
No description