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

Override cache manager only in CacheTagsBootstrapper

This commit is contained in:
lukinovec 2023-04-19 09:37:10 +02:00
parent 1d52096d6e
commit 2171ca9c68
7 changed files with 45 additions and 58 deletions

View file

@ -190,7 +190,6 @@ return [
* You can clear cache selectively by specifying the tag.
*/
'cache' => [
'manager' => CacheManager::class,
'tag_base' => 'tenant', // This tag_base, followed by the tenant_id, will form a tag that will be applied on each cache call.
'prefix_base' => 'tenant_', // This prefix_base, followed by the tenant_id, will form a cache prefix that will be used for every cache key.
],