TenantDatabaseManager
interface TenantDatabaseManager (View source)
Methods
bool
bool
bool
databaseExists(string $name)
Does a database exist?
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Construct a DB connection config array.
Details
bool
createDatabase(TenantWithDatabase $tenant)
Create a database.
bool
deleteDatabase(TenantWithDatabase $tenant)
Delete a database.
bool
databaseExists(string $name)
Does a database exist?
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Construct a DB connection config array.