Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
MaintenanceEnableCommand.php
Go to the documentation of this file.
1 <?php
8 
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 }