ShopCacheCleaner
in package
implements
CacheCleanerInterface, SingletonStrategyInterface
Class ShopCacheCleaner
Interfaces, Classes and Traits
- CacheCleanerInterface
- Interface CacheCleanerInterface
- SingletonStrategyInterface
- Interface SingletonStrategyInterface
Table of Contents
- $adapter : FilesystemAdapter
- $cacheControl : CacheControl
- __construct() : mixed
- ShopCacheCleaner constructor.
- clearShopCache() : mixed
- clearThemeCache() : void
- create() : ShopCacheCleaner
Properties
$adapter
protected
FilesystemAdapter
$adapter
$cacheControl
protected
CacheControl
$cacheControl
Methods
__construct()
ShopCacheCleaner constructor.
public
__construct(FilesystemAdapter $adapter, CacheControl $cacheControl) : mixed
Parameters
- $adapter : FilesystemAdapter
- $cacheControl : CacheControl
Return values
mixed —clearShopCache()
public
clearShopCache() : mixed
Return values
mixed —clearThemeCache()
public
clearThemeCache( $themeId) : void
Parameters
Tags
Return values
void —create()
public
static create() : ShopCacheCleaner