SiteUpCommand
Extends \Joomla\Console\Command\AbstractCommandConsole command wrapper for getting the site into offline mode
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
configure
Initialise the command.
configure() : void
since |
4.0.0 |
---|
configureIO
Configures the IO
configureIO(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : void
since |
4.0.0 |
---|
Arguments
- input
\Symfony\Component\Console\Input\InputInterface
Console Input- output
\Symfony\Component\Console\Output\OutputInterface
Console Output
doExecute
Internal function to execute the command.
doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : int
since |
4.0.0 |
---|
Arguments
- input
\Symfony\Component\Console\Input\InputInterface
The input to inject into the command.- output
\Symfony\Component\Console\Output\OutputInterface
The output to inject into the command.
Response
int
The command exit code
Constants
SITE_UP_FAILED
Return code if site:up failed
Value | 1 |
---|---|
since |
4.0.0 |
SITE_UP_SUCCESSFUL
Return code if site:up was successful
Value | 0 |
---|---|
since |
4.0.0 |
Properties
ioStyle
SymfonyStyle Object
since |
4.0.0 |
---|
Type(s)
\Symfony\Component\Console\Style\SymfonyStyle