Skip to content

Commit

Permalink
SPRY-3596 allow extensibility of addCacheManagerFacade in CacheManage…
Browse files Browse the repository at this point in the history
…rGuiDependencyProvide
  • Loading branch information
HaukeBST committed Nov 27, 2024
1 parent 273248d commit 125c21a
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,17 @@ protected function addStorageClient(Container $container): void
fn (): StorageClientInterface => $container->getLocator()->storage()->client()
);
}

/**
* @param \Spryker\Zed\Kernel\Container $container
*
* @return void
*/
protected function addCacheManagerFacade(Container $container): void
{
$container->set(
self::CLIENT_STORAGE,
fn (): StorageClientInterface => $container->getLocator()->storage()->client()
);
}
}

0 comments on commit 125c21a

Please sign in to comment.