Skip to content

Commit

Permalink
SPRY-3032 Change access modifiers of CacheManager class methods and p…
Browse files Browse the repository at this point in the history
…roperties to protected.
  • Loading branch information
HaukeBST committed May 22, 2024
1 parent 9dc92b2 commit 13b9cb3
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 13b9cb3

Please sign in to comment.