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

CacheManager dependency injection test

This commit is contained in:
Abrar Ahmad 2022-12-01 13:53:45 +05:00
parent 70ee83b3b7
commit 222686ec1d
3 changed files with 42 additions and 1 deletions

View file

@ -40,7 +40,7 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
{
$this->config->set('cache.prefix', $prefix);
$this->app['cache']->forgetDriver($this->storeName);
// $this->app['cache']->forgetDriver($this->storeName);
// The CacheManager will have the $app['config'] array cached with old prefixes on the 'cache' instance
// This call will forget the 'cache' instance