TenantDatabaseManager
abstract class TenantDatabaseManager implements StatefulTenantDatabaseManager (View source)
Properties
protected string | $connection | The database connection to the server. |
Methods
Connection
database()
Get the DB connection used by the tenant database manager.
void
setConnection(string $connection)
Set the DB connection that should be used by the tenant database manager.
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Construct a DB connection config array.
Details
Connection
database()
Get the DB connection used by the tenant database manager.
void
setConnection(string $connection)
Set the DB connection that should be used by the tenant database manager.
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Construct a DB connection config array.