mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-15 04:24:04 +00:00
Move Cache::macro() to a slightly more appropriate place
This commit is contained in:
parent
d3c7fef002
commit
35a3412011
2 changed files with 5 additions and 4 deletions
|
|
@ -23,10 +23,6 @@ class PrefixCacheTenancyBootstrapper implements TenancyBootstrapper
|
|||
|
||||
public function bootstrap(Tenant $tenant): void
|
||||
{
|
||||
Cache::macro('setStore', function ($store) {
|
||||
$this->store = $store;
|
||||
});
|
||||
|
||||
$this->originalPrefix = $this->config->get('cache.prefix');
|
||||
$this->storeName = $this->config->get('cache.default');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue