Back to SiteDownCommand class

Method configure

protected void
configure
()
Initialise the command.
Returns
  • void
Since
  • 4.0.0

Method configure - Source code

/**
 * Initialise the command.
 *
 * @return  void
 *
 * @since   4.0.0
 */
protected function configure() : void
{
    $help = "<info>%command.name%</info> puts the site into offline mode\n\t\t\nUsage: <info>php %command.full_name%</info>";
    $this->setDescription('Put the site into offline mode');
    $this->setHelp($help);
}