1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 03:34:03 +00:00

Add support for tags in store() method

This commit is contained in:
Rasel Islam Rafi 2024-04-29 21:20:35 +06:00 committed by GitHub
parent 4dab0c1870
commit d323f2fc4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,10 @@ class CacheManager extends BaseCacheManager
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);
}
}