ExtensionInstallCommand
Extends \Joomla\Console\Command\AbstractCommandConsole command for installing 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\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
throws |
|
---|---|
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
processPathInstallation
Used for installing extension from a path
processPathInstallation(string path) : bool
since |
4.0.0 |
---|---|
throws |
|
Arguments
- path
string
Path to the extension zip file
Response
bool
processUrlInstallation
Used for installing extension from a URL
processUrlInstallation(string url) : bool
since |
4.0.0 |
---|---|
throws |
|
Arguments
- url
string
URL to the extension zip file
Response
bool
Constants
INSTALLATION_FAILED
Exit Code For installation failure
Value | 1 |
---|---|
since |
INSTALLATION_SUCCESSFUL
Exit Code For installation Success
Value | 0 |
---|---|
since |
Properties
cliInput
Stores the Input Object
since |
4.0.0 |
---|
Type(s)
\Symfony\Component\Console\Input\InputInterface
ioStyle
SymfonyStyle Object
since |
4.0.0 |
---|
Type(s)
\Symfony\Component\Console\Style\SymfonyStyle