mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 01:14:04 +00:00
Add command tests
This commit is contained in:
parent
33fcb8a936
commit
e1def355f9
13 changed files with 98 additions and 15 deletions
|
|
@ -170,6 +170,16 @@ class TenantManager
|
|||
return $tenant;
|
||||
}
|
||||
|
||||
/**
|
||||
* Reconnects to the default database.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function disconnectDatabase()
|
||||
{
|
||||
$this->database->disconnect();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all tenants.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue