Skip to content

Commit

Permalink
Merge pull request #2 from valantic-CEC-Deutschland-GmbH/feature/SPRY…
Browse files Browse the repository at this point in the history
…-3032

SPRY-3032 Change access modifiers of CacheManager class methods and p…
  • Loading branch information
HaukeBST authored May 22, 2024
2 parents 5a52b65 + 13b9cb3 commit f46c863
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CacheManager
* @param \ValanticSpryker\Zed\CacheManager\Communication\Plugin\CacheManagerPluginCollection $cacheManagerPluginCollection
* @param \Spryker\Client\Storage\StorageClientInterface $storageClient
*/
public function __construct(private CacheManagerPluginCollection $cacheManagerPluginCollection, private StorageClientInterface $storageClient)
public function __construct(protected CacheManagerPluginCollection $cacheManagerPluginCollection, protected StorageClientInterface $storageClient)
{
}

Expand Down Expand Up @@ -69,7 +69,7 @@ public function deleteCache(CacheManagerDeleteTransfer $cacheManagerDeleteTransf
*
* @return array
*/
private function getFormattedKeys(array $keys): array
protected function getFormattedKeys(array $keys): array
{
return array_map(function (string $key) {
return ltrim($key, Service::KV_PREFIX);
Expand All @@ -81,7 +81,7 @@ private function getFormattedKeys(array $keys): array
*
* @return array
*/
private function getKeys(string $keyPattern): array
protected function getKeys(string $keyPattern): array
{
return $this->storageClient->getKeys($keyPattern);
}
Expand Down

0 comments on commit f46c863

Please sign in to comment.