ClearFileCacheService
in package
implements
ClearCacheService
Class ClearFileCacheService
Interfaces, Classes and Traits
- ClearCacheService
- Interface ClearCacheService
Table of Contents
- $factory : CacheFactory
- $namespaces : array<string, string>
- __construct() : mixed
- ClearCacheService constructor.
- addNamespaceToModuleCaches() : void
- Adds another namespace to the module based caches.
- addNamespaceToProductCaches() : void
- Adds another namespace to the product based caches.
- addNamespaceToProductPropertiesCaches() : void
- Adds another namespace to the product properties based caches.
- addNamespaceToSystemCaches() : void
- Adds another namespace to the system based caches.
- addNamespaceToTemplateCaches() : void
- Adds another namespace to the template based caches.
- addNamespaceToTextCaches() : void
- Adds another namespace to the text phrases based caches.
- clearModuleCaches() : void
- Clears all module based caches.
- clearProductCaches() : void
- Clears all product based caches.
- clearProductPropertiesCaches() : void
- Clears all product properties based caches.
- clearSystemCaches() : void
- Clears all system based caches.
- clearTemplateCaches() : void
- Clears all template based caches.
- clearTextCaches() : void
- Clears all text phrases based caches.
Properties
$factory
private
CacheFactory
$factory
$namespaces
private
array<string, string>
$namespaces
Methods
__construct()
ClearCacheService constructor.
public
__construct(CacheFactory $factory) : mixed
Parameters
- $factory : CacheFactory
Return values
mixed —addNamespaceToModuleCaches()
Adds another namespace to the module based caches.
public
addNamespaceToModuleCaches(string $namespace) : void
Parameters
- $namespace : string
Tags
Return values
void —addNamespaceToProductCaches()
Adds another namespace to the product based caches.
public
addNamespaceToProductCaches(string $namespace) : void
Parameters
- $namespace : string
Tags
Return values
void —addNamespaceToProductPropertiesCaches()
Adds another namespace to the product properties based caches.
public
addNamespaceToProductPropertiesCaches(string $namespace) : void
Parameters
- $namespace : string
Return values
void —addNamespaceToSystemCaches()
Adds another namespace to the system based caches.
public
addNamespaceToSystemCaches(string $namespace) : void
Parameters
- $namespace : string
Tags
Return values
void —addNamespaceToTemplateCaches()
Adds another namespace to the template based caches.
public
addNamespaceToTemplateCaches(string $namespace) : void
Parameters
- $namespace : string
Tags
Return values
void —addNamespaceToTextCaches()
Adds another namespace to the text phrases based caches.
public
addNamespaceToTextCaches(string $namespace) : void
Parameters
- $namespace : string
Tags
Return values
void —clearModuleCaches()
Clears all module based caches.
public
clearModuleCaches() : void
Tags
Return values
void —clearProductCaches()
Clears all product based caches.
public
clearProductCaches() : void
Tags
Return values
void —clearProductPropertiesCaches()
Clears all product properties based caches.
public
clearProductPropertiesCaches() : void
Tags
Return values
void —clearSystemCaches()
Clears all system based caches.
public
clearSystemCaches() : void
Tags
Return values
void —clearTemplateCaches()
Clears all template based caches.
public
clearTemplateCaches() : void
Tags
Return values
void —clearTextCaches()
Clears all text phrases based caches.
public
clearTextCaches() : void