Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (Cli $cli) | |
flush (array $cacheTypes=[]) | |
disableCache ($cacheType=null) | |
enableCache ($cacheType=null) | |
Data Fields | |
const | PARAM_CACHE_FLUSH = 'cache:flush' |
const | PARAM_CACHE_DISABLE = 'cache:disable' |
const | PARAM_CACHE_ENABLE = 'cache:enable' |
__construct | ( | Cli | $cli | ) |
disableCache | ( | $cacheType = null | ) |
Disable all cache or one cache type.
string | $cacheType | [optional] |
Definition at line 66 of file Cache.php.
enableCache | ( | $cacheType = null | ) |
Enable all cache or one cache type.
string | $cacheType | [optional] |
Definition at line 77 of file Cache.php.
flush | ( | array | $cacheTypes = [] | ) |
const PARAM_CACHE_DISABLE = 'cache:disable' |
const PARAM_CACHE_ENABLE = 'cache:enable' |
const PARAM_CACHE_FLUSH = 'cache:flush' |