1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 09:54:03 +00:00

tenancy.cache.prefix_base -> tag_base

This commit is contained in:
Samuel Štancl 2019-02-07 22:07:02 +01:00
parent fceddb8c4d
commit 124e747aa0
3 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ These changes will only apply for connections listed in `prefixed_connections`.
Cache keys will be tagged with a tag:
```php
config('tenancy.cache.prefix_base') . $uuid
config('tenancy.cache.tag_base') . $uuid
```
#### `filesystem`

View file

@ -8,7 +8,7 @@ class CacheManager extends BaseCacheManager
{
public function __call($method, $parameters)
{
$tags = [config('tenancy.cache.prefix_base') . tenant('uuid')];
$tags = [config('tenancy.cache.tag_base') . tenant('uuid')];
if ($method === "tags") {
if (count($parameters == 1) && is_array($parameters[0])) {

View file

@ -19,7 +19,7 @@ return [
],
],
'cache' => [
'prefix_base' => 'tenant',
'tag_base' => 'tenant',
],
'filesystem' => [
'suffix_base' => 'tenant',