System cache model interface
@api
- Since
- 100.0.2
Definition at line 15 of file CacheInterface.php.
◆ clean()
Clean cached data by specific tag
- Parameters
-
- Returns
- bool
Implemented in Proxy, and Dummy.
◆ getFrontend()
Get cache frontend API object
- Returns
- \Magento\Framework\Cache\FrontendInterface
Implemented in Proxy, Cache, and Dummy.
◆ load()
Load data from cache by id
- Parameters
-
- Returns
- string
Implemented in Proxy, Cache, and Dummy.
◆ remove()
Remove cached data by identifier
- Parameters
-
- Returns
- bool
Implemented in Proxy, Cache, and Dummy.
◆ save()
save |
( |
|
$data, |
|
|
|
$identifier, |
|
|
|
$tags = [] , |
|
|
|
$lifeTime = null |
|
) |
| |
Save data
- Parameters
-
string | $data | |
string | $identifier | |
array | $tags | |
int | $lifeTime | |
- Returns
- bool
Implemented in Proxy, Cache, and Dummy.
The documentation for this interface was generated from the following file: