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