mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 01:14:04 +00:00
Get tests to run
This commit is contained in:
parent
23a4fd24b0
commit
7a0154bf8e
8 changed files with 46 additions and 29 deletions
|
|
@ -5,6 +5,7 @@ declare(strict_types=1);
|
|||
namespace Stancl\Tenancy\TenantDatabaseManagers;
|
||||
|
||||
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
|
||||
use Stancl\Tenancy\Tenant;
|
||||
|
||||
class RedisTenancyBootstrapper implements TenancyBootstrapper
|
||||
{
|
||||
|
|
@ -19,7 +20,7 @@ class RedisTenancyBootstrapper implements TenancyBootstrapper
|
|||
$this->app = $app;
|
||||
}
|
||||
|
||||
public function start()
|
||||
public function start(Tenant $tenant)
|
||||
{
|
||||
foreach ($this->prefixedConnections() as $connection) {
|
||||
$prefix = $this->app['config']['tenancy.redis.prefix_base'] . $this->tenant['uuid'];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue