SQLiteDatabaseManager
class SQLiteDatabaseManager implements TenantDatabaseManager (View source)
Methods
bool
bool
bool
databaseExists(string $name)
Does a database exist.
array
makeConnectionConfig(array $baseConfig, string $databaseName)
Make a DB connection config array.
void
setConnection(string $connection)
Set the DB connection that should be used by the tenant database manager.
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)
Make a DB connection config array.
void
setConnection(string $connection)
Set the DB connection that should be used by the tenant database manager.