mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Improve comment
This commit is contained in:
parent
1104aba4ef
commit
caa0c87153
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ test('cache is prefixed correctly when using a repository injected in a singleto
|
|||
test('specific central cache store can be used inside a service', function () {
|
||||
config(['cache.default' => 'redis']);
|
||||
config(['cache.stores.redis2' => config('cache.stores.redis')]);
|
||||
$cacheStore = 'redis2'; // Non-default, central cache store name that we'll use using cache()->store($cacheStore)
|
||||
$cacheStore = 'redis2'; // Name of the non-default, central cache store that we'll use using cache()->store($cacheStore)
|
||||
|
||||
// Service uses the 'redis2' store which is central/not prefixed (not present in PrefixCacheTenancyBootstrapper::$tenantCacheStores)
|
||||
$this->app->singleton(SpecificCacheStoreService::class, function() use ($cacheStore) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue