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

user getTenantKey method

This commit is contained in:
Abrar Ahmad 2022-11-28 15:09:39 +05:00
parent eef58bd93d
commit d6b4d9b7a7

View file

@ -25,7 +25,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
$this->originalPrefix = $this->app['config']['cache.prefix'];
$this->storeName = $this->app['config']['cache.default'];
$this->setCachePrefix($this->app['config']['tenancy.cache.prefix_base'] . $tenant->id);
$this->setCachePrefix($this->app['config']['tenancy.cache.prefix_base'] . $tenant->getTenantKey());
}
public function revert(): void