ExtensionRemoveCommand

Extends AbstractCommand

Console command for removing extensions

since

4.0.0

package

Joomla CMS

Methods

__construct

Command constructor.

__construct(\Joomla\Database\DatabaseInterface db) : 
since

4.2.0

Arguments

db

DatabaseInterfaceThe database

Response

mixed

configure

Initialise the command.

configure() : 
since

4.0.0

Response

void

configureIO

Configures the IO

configureIO(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : 
since

4.0.0

Arguments

input

InputInterfaceConsole Input

output

OutputInterfaceConsole Output

Response

void

doExecute

Internal function to execute the command.

doExecute(\Symfony\Component\Console\Input\InputInterface input, \Symfony\Component\Console\Output\OutputInterface output) : 
since

4.0.0

Arguments

input

InputInterfaceThe input to inject into the command.

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

4.0.0

REMOVE_FAILED

Exit Code for extensions remove failure

Value 1
since

4.0.0

REMOVE_INVALID_RESPONSE

Exit Code for invalid response

Value 5
since

4.0.0

REMOVE_INVALID_TYPE

Exit Code for invalid type

Value 6
since

4.0.0

REMOVE_LOCKED

Exit Code for extensions locked remove failure

Value 4
since

4.0.0

REMOVE_NOT_FOUND

Exit Code for extensions not found

Value 2
since

4.0.0

REMOVE_SUCCESSFUL

Exit Code for extensions remove success

Value 0
since

4.0.0

Properties

defaultName

The default command name

static
since

4.0.0

Type(s)

string

cliInput

since

4.0.0

Type(s)

InputInterface

ioStyle

since

4.0.0

Type(s)

SymfonyStyle