mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-14 11:54:04 +00:00
Fix Travis, add docs for generating HTTPS certificates (#19)
This commit is contained in:
parent
0adbfee86e
commit
6bb18a2b95
8 changed files with 108 additions and 7 deletions
|
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Stancl\Tenancy;
|
||||
namespace Stancl\Tenancy\Traits;
|
||||
|
||||
use Stancl\Tenancy\CacheManager;
|
||||
use Illuminate\Support\Facades\Redis;
|
||||
|
||||
trait BootstrapsTenancy
|
||||
{
|
||||
|
|
@ -21,7 +24,6 @@ trait BootstrapsTenancy
|
|||
|
||||
public function setPhpRedisPrefix($connections = ['default'])
|
||||
{
|
||||
return;
|
||||
foreach ($connections as $connection) {
|
||||
$prefix = config('tenancy.redis.prefix_base') . $this->tenant['uuid'];
|
||||
$client = Redis::connection($connection)->client();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue