mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 06:24:04 +00:00
Add support for tags in store() method
This commit is contained in:
parent
4dab0c1870
commit
d323f2fc4b
1 changed files with 5 additions and 1 deletions
|
|
@ -32,6 +32,10 @@ class CacheManager extends BaseCacheManager
|
||||||
return $this->store()->tags(array_merge($tags, $names));
|
return $this->store()->tags(array_merge($tags, $names));
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->store()->tags($tags)->$method(...$parameters);
|
if ($this->store()->supportsTags()) {
|
||||||
|
return $this->store()->tags($tags)->$method(...$parameters);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->store()->$method(...$parameters);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue