-
-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
status: acceptedThe issue has been accepted/acknowledged and is being actioned or will beThe issue has been accepted/acknowledged and is being actioned or will betype: refactorRefactoring of codeRefactoring of code
Description
The service override for the cache service does not currently use the pattern functionality found in both the identity resolvers and other service overrides, such as the filesystem override.
The current implementation assumes an exact value, or generates one from the tenancy and tenant key.
sprout/src/Overrides/Cache/SproutCacheDriverCreator.php
Lines 123 to 129 in e318aa1
protected function getStorePrefix(array $config, Tenancy $tenancy, Tenant $tenant): string | |
{ | |
return (isset($config['prefix']) ? $config['prefix'] . '_' : '') | |
. $tenancy->getName() | |
. '_' | |
. $tenant->getTenantKey(); | |
} |
I assume this was simply missed when I refactored things to use the placeholder approach.
Metadata
Metadata
Assignees
Labels
status: acceptedThe issue has been accepted/acknowledged and is being actioned or will beThe issue has been accepted/acknowledged and is being actioned or will betype: refactorRefactoring of codeRefactoring of code
Type
Projects
Status
Ready