1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 15:54:03 +00:00

categorize todos

This commit is contained in:
Samuel Štancl 2024-05-17 14:23:54 +02:00
parent b97c203967
commit f0bb28345f
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@ use Stancl\Tenancy\Database\Exceptions\NoConnectionSetException;
interface StatefulTenantDatabaseManager extends TenantDatabaseManager
{
/** Get the DB connection used by the tenant database manager. */
public function database(): Connection; // todo@name rename to connection()
public function database(): Connection; // todo@dbRefactor rename to connection()
/**
* Set the DB connection that should be used by the tenant database manager.

View file

@ -13,6 +13,7 @@ use Stancl\Tenancy\Database\Contracts\TenantWithDatabase as Tenant;
use Stancl\Tenancy\Database\Exceptions\DatabaseManagerNotRegisteredException;
use Stancl\Tenancy\Database\Exceptions\NoConnectionSetException;
// todo@dbRefactor refactor host connection logic to make customizing the host connection easier
class DatabaseConfig
{
/** The tenant whose database we're dealing with. */