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
magento2-base
setup
src
Magento
Setup
Console
Command
MaintenanceEnableCommand.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Setup\Console\Command
;
8
12
class
MaintenanceEnableCommand
extends
AbstractMaintenanceCommand
13
{
19
protected
function
configure
()
20
{
21
$this->setName(
'maintenance:enable'
)->setDescription(
'Enables maintenance mode'
);
22
parent::configure();
23
}
24
30
protected
function
isEnable
()
31
{
32
return
true
;
33
}
34
40
protected
function
getDisplayString
()
41
{
42
return
'<info>Enabled maintenance mode</info>'
;
43
}
44
}
Magento\Setup\Console\Command\MaintenanceEnableCommand\isEnable
isEnable()
Definition:
MaintenanceEnableCommand.php:30
Magento\Setup\Console\Command\AbstractMaintenanceCommand
Definition:
AbstractMaintenanceCommand.php:14
Magento\Setup\Console\Command
Definition:
DependenciesShowFrameworkCommandTest.php:6
Magento\Setup\Console\Command\MaintenanceEnableCommand\getDisplayString
getDisplayString()
Definition:
MaintenanceEnableCommand.php:40
Magento\Setup\Console\Command\MaintenanceEnableCommand\configure
configure()
Definition:
MaintenanceEnableCommand.php:19
Magento\Setup\Console\Command\MaintenanceEnableCommand
Definition:
MaintenanceEnableCommand.php:12