ExtensionRemoveCommand

Extends \Joomla\Console\Command\AbstractCommand

Console command for removing extensions

since

4.0.0

package

Application

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\InputInterfaceConsole Input

output

\Symfony\Component\Console\Output\OutputInterfaceConsole 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\InputInterfaceThe input to inject into the command.

output

\Symfony\Component\Console\Output\OutputInterfaceThe output to inject into the command.

Response

intThe command exit code

Constants

REMOVE_ABORT

Exit Code for extensions remove abort

Value 3
since

REMOVE_FAILED

Exit Code for extensions remove failure

Value 1
since

REMOVE_INVALID_RESPONSE

Exit Code for invalid response

Value 5
since

REMOVE_INVALID_TYPE

Exit Code for invalid type

Value 6
since

REMOVE_LOCKED

Exit Code for extensions locked remove failure

Value 4
since

REMOVE_NOT_FOUND

Exit Code for extensions not found

Value 2
since

REMOVE_SUCCESSFUL

Exit Code for extensions remove success

Value 0
since

Properties

defaultName

The default command name

static
since

4.0.0

Type(s)

string

cliInput

since

Type(s)

\Symfony\Component\Console\Input\InputInterface

ioStyle

since

Type(s)

\Symfony\Component\Console\Style\SymfonyStyle