1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 08:24:05 +00:00

Add docblock to PostgresTenancyBootstrapper

This commit is contained in:
lukinovec 2023-05-24 11:04:57 +02:00
parent 2461f76e59
commit 6e2b56237f

View file

@ -10,6 +10,10 @@ use Stancl\Tenancy\Contracts\TenancyBootstrapper;
use Stancl\Tenancy\Contracts\Tenant; use Stancl\Tenancy\Contracts\Tenant;
use Stancl\Tenancy\Database\Contracts\TenantWithDatabase; use Stancl\Tenancy\Database\Contracts\TenantWithDatabase;
/**
* Purge central connection, set Postgres credentials to the tenant's credentials
* and use Postgres as the central connection.
*/
class PostgresTenancyBootstrapper implements TenancyBootstrapper class PostgresTenancyBootstrapper implements TenancyBootstrapper
{ {
protected array $originalCentralConnectionConfig; protected array $originalCentralConnectionConfig;