OXID eShop CE  6.4.2
OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService:
+ Collaboration diagram for OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService:

Public Member Functions

 __construct (ShopAdapterInterface $shopAdapter, TemplateCacheServiceInterface $templateCacheService)
 
 invalidateModuleCache (string $moduleId, int $shopId)
 

Private Attributes

 $shopAdapter
 
 $templateCacheService
 

Constructor & Destructor Documentation

◆ __construct()

OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService::__construct ( ShopAdapterInterface  $shopAdapter,
TemplateCacheServiceInterface  $templateCacheService 
)

ShopModuleCacheService constructor.

Parameters
ShopAdapterInterface$shopAdapter
TemplateCacheServiceInterface$templateCacheService

Member Function Documentation

◆ invalidateModuleCache()

OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService::invalidateModuleCache ( string  $moduleId,
int  $shopId 
)

Invalidate all module related cache items for a given module and a given shop

Parameters
string$moduleId
int$shopId

Implements OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ModuleCacheServiceInterface.

Member Data Documentation

◆ $shopAdapter

OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService::$shopAdapter
private

◆ $templateCacheService

OxidEsales\EshopCommunity\Internal\Framework\Module\Cache\ShopModuleCacheService::$templateCacheService
private

The documentation for this class was generated from the following file: