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
AbstractCacheCommand.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Backend\Console\Command
;
8
9
use
Magento\Framework\App\Cache\Manager
;
10
use Symfony\Component\Console\Command\Command;
11
use Symfony\Component\Console\Input\InputOption;
12
17
abstract
class
AbstractCacheCommand
extends
Command
18
{
22
const
INPUT_KEY_BOOTSTRAP
=
'bootstrap'
;
23
29
protected
$cacheManager
;
30
36
public
function
__construct
(
Manager
$cacheManager
)
37
{
38
$this->cacheManager =
$cacheManager
;
39
parent::__construct();
40
}
41
45
protected
function
configure
()
46
{
47
$this->addOption(
48
self::INPUT_KEY_BOOTSTRAP,
49
null
,
50
InputOption::VALUE_REQUIRED,
51
'add or override parameters of the bootstrap'
52
);
53
}
54
}
Magento\Backend\Console\Command\AbstractCacheCommand\configure
configure()
Definition:
AbstractCacheCommand.php:45
Magento\Backend\Console\Command\AbstractCacheCommand\__construct
__construct(Manager $cacheManager)
Definition:
AbstractCacheCommand.php:36
Magento\Framework\App\Cache\Manager
Definition:
Manager.php:17
Magento\Backend\Console\Command\AbstractCacheCommand\$cacheManager
$cacheManager
Definition:
AbstractCacheCommand.php:29
Magento\Backend\Console\Command\AbstractCacheCommand
Definition:
AbstractCacheCommand.php:17
Magento\Backend\Console\Command
Definition:
AbstractCacheCommand.php:7
Magento\Backend\Console\Command\AbstractCacheCommand\INPUT_KEY_BOOTSTRAP
const INPUT_KEY_BOOTSTRAP
Definition:
AbstractCacheCommand.php:22