mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 18:04:03 +00:00
Fix import
This commit is contained in:
parent
db2366b889
commit
6d10d56ad3
1 changed files with 2 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ namespace Stancl\Tenancy\TenancyBootstrappers;
|
|||
use Illuminate\Cache\CacheManager;
|
||||
use Illuminate\Contracts\Foundation\Application;
|
||||
use Stancl\Tenancy\Contracts\TenancyBootstrapper;
|
||||
use Stancl\Tenancy\CacheManager as TenantCacheManager;
|
||||
use Stancl\Tenancy\Tenant;
|
||||
|
||||
class CacheTenancyBootstrapper implements TenancyBootstrapper
|
||||
|
|
@ -26,7 +27,7 @@ class CacheTenancyBootstrapper implements TenancyBootstrapper
|
|||
{
|
||||
$this->originalCache = $this->originalCache ?? $this->app['cache'];
|
||||
$this->app->extend('cache', function () {
|
||||
return new CacheManager($this->app);
|
||||
return new TenantCacheManager($this->app);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue