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