1
0
Fork 0
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:
Samuel Štancl 2019-02-09 11:53:48 +01:00
parent 33fcb8a936
commit e1def355f9
13 changed files with 98 additions and 15 deletions

View file

@ -170,6 +170,16 @@ class TenantManager
return $tenant;
}
/**
* Reconnects to the default database.
*
* @return void
*/
public function disconnectDatabase()
{
$this->database->disconnect();
}
/**
* Get all tenants.
*