Skip to content

Commit

Permalink
OXDEV-7771 Update module cache related deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
kenariosz committed May 7, 2024
1 parent 46d209b commit 33f381f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG-7.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-

### Deprecated
- Filesystem module cache will be moved to module cache
- Filesystem module cache related services and interface will be refactored and some of them will be removed

### Fixed
- User registration in the Private Sales mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
use function json_encode;

/**
* @deprecated and it will be moved to ModuleCache as of v8.0
* @deprecated v7.2 and will be removed as of v8.0. Instead, new ModuleCache service will be introduced.
*/
class FilesystemModuleCache implements ModuleCacheServiceInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace OxidEsales\EshopCommunity\Internal\Framework\Module\Cache;

/**
* @deprecated and it will be moved to ModuleCacheBridge as of v8.0
* @deprecated v7.2 and will be removed as of v8.0
*/
class FilesystemModuleCacheBridge implements ModuleCacheServiceBridgeInterface
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace OxidEsales\EshopCommunity\Internal\Framework\Module\Cache;

/**
* @deprecated v7.2 and will be removed as of v8.0
*/
interface ModuleCacheServiceBridgeInterface
{
public function invalidateAll(): void;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@

namespace OxidEsales\EshopCommunity\Internal\Framework\Module\Cache;

/**
* @deprecated v7.2 and will be removed as of v8.0. Instead, new ModuleCache interface will be introduced.
*/
interface ModuleCacheServiceInterface
{
/**
Expand All @@ -19,6 +22,9 @@ interface ModuleCacheServiceInterface
*/
public function invalidate(string $moduleId, int $shopId): void;

/**
* @deprecated and will be removed as of v8.0.
*/
public function invalidateAll(): void;

/**
Expand Down

0 comments on commit 33f381f

Please sign in to comment.