mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:44:02 +00:00
tenancy.cache.prefix_base -> tag_base
This commit is contained in:
parent
fceddb8c4d
commit
124e747aa0
3 changed files with 3 additions and 3 deletions
|
|
@ -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`
|
||||
|
|
|
|||
|
|
@ -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])) {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ return [
|
|||
],
|
||||
],
|
||||
'cache' => [
|
||||
'prefix_base' => 'tenant',
|
||||
'tag_base' => 'tenant',
|
||||
],
|
||||
'filesystem' => [
|
||||
'suffix_base' => 'tenant',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue