Laravel:5.6 Php:7.1
I am having multiple tenants(platforms) application with the single codebase and using the file cache. I need to handle the cache removal for specific platform.
I tried to set the cache config storage path on runtime to set the different cache paths with respect to the platforms. But it got the default settings from config/cache.php once I try to put the cache using the following method
Cache::store('file')->put($key, $data, CACHE_MINUTES);