ExtensionDiscoverInstallCommand
Extends AbstractCommandConsole command for discovering extensions
| since |
4.0.0 |
|---|---|
| package |
Joomla CMS |
Methods
__construct
Instantiate the command.
__construct(\Joomla\Database\DatabaseInterface db) :
| since |
4.0.0 |
|---|
Arguments
- db
DatabaseInterfaceDatabase connector
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
getNote
Used for finding the text for the note
getNote( count, eid) :
| since |
4.0.0 |
|---|
Arguments
- count
intNumber of extensions to install- eid
intID of the extension or -1 if no special
Response
stringThe text for the note
processDiscover
Used for discovering extensions
processDiscover( eid) :
| throws |
|
|---|---|
| since |
4.0.0 |
Arguments
- eid
stringId of the extension
Response
intThe count of installed extensions
Properties
defaultName
The default command name
static
| since |
4.0.0 |
|---|
Type(s)
string
cliInput
Stores the Input Object
| since |
4.0.0 |
|---|
Type(s)
InputInterface
ioStyle
SymfonyStyle Object
| since |
4.0.0 |
|---|
Type(s)
SymfonyStyle