Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-backend
Console
Command
CacheCleanCommand.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Backend\Console\Command
;
8
15
class
CacheCleanCommand
extends
AbstractCacheTypeManageCommand
16
{
20
protected
function
configure
()
21
{
22
$this->setName(
'cache:clean'
);
23
$this->setDescription(
'Cleans cache type(s)'
);
24
parent::configure();
25
}
26
33
protected
function
performAction
(array $cacheTypes)
34
{
35
$this->eventManager->dispatch(
'adminhtml_cache_flush_system'
);
36
$this->cacheManager->clean($cacheTypes);
37
}
38
42
protected
function
getDisplayMessage
()
43
{
44
return
'Cleaned cache types:'
;
45
}
46
}
Magento\Backend\Console\Command\CacheCleanCommand\performAction
performAction(array $cacheTypes)
Definition:
CacheCleanCommand.php:33
Magento\Backend\Console\Command\AbstractCacheTypeManageCommand
Definition:
AbstractCacheTypeManageCommand.php:18
Magento\Backend\Console\Command\CacheCleanCommand
Definition:
CacheCleanCommand.php:15
Magento\Backend\Console\Command
Definition:
AbstractCacheCommand.php:7
Magento\Backend\Console\Command\CacheCleanCommand\configure
configure()
Definition:
CacheCleanCommand.php:20
Magento\Backend\Console\Command\CacheCleanCommand\getDisplayMessage
getDisplayMessage()
Definition:
CacheCleanCommand.php:42