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
MaintenanceDisableCommand.php
Go to the documentation of this file.
1
<?php
7
namespace
Magento\Setup\Console\Command
;
8
12
class
MaintenanceDisableCommand
extends
AbstractMaintenanceCommand
13
{
19
protected
function
configure
()
20
{
21
$this->setName(
'maintenance:disable'
)->setDescription(
'Disables maintenance mode'
);
22
parent::configure();
23
}
24
30
protected
function
isEnable
()
31
{
32
return
false
;
33
}
34
40
protected
function
getDisplayString
()
41
{
42
return
'<info>Disabled maintenance mode</info>'
;
43
}
44
50
public
function
isSetAddressInfo
()
51
{
52
return
count($this->maintenanceMode->getAddressInfo()) > 0;
53
}
54
}
Magento\Setup\Console\Command\MaintenanceDisableCommand\getDisplayString
getDisplayString()
Definition:
MaintenanceDisableCommand.php:40
Magento\Setup\Console\Command\MaintenanceDisableCommand\isEnable
isEnable()
Definition:
MaintenanceDisableCommand.php:30
Magento\Setup\Console\Command\MaintenanceDisableCommand\configure
configure()
Definition:
MaintenanceDisableCommand.php:19
Magento\Setup\Console\Command\AbstractMaintenanceCommand
Definition:
AbstractMaintenanceCommand.php:14
Magento\Setup\Console\Command\MaintenanceDisableCommand
Definition:
MaintenanceDisableCommand.php:12
Magento\Setup\Console\Command
Definition:
DependenciesShowFrameworkCommandTest.php:6
Magento\Setup\Console\Command\MaintenanceDisableCommand\isSetAddressInfo
isSetAddressInfo()
Definition:
MaintenanceDisableCommand.php:50