ExtensionDiscoverCommand

Extends \Joomla\Console\Command\AbstractCommand

Console command for discovering extensions

since

4.0.0

Methods

__construct

Instantiate the command.

__construct() 
since

4.0.0

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) : integer
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

integerThe command exit code

getNote

Used for finding the text for the note

getNote(integer $count) : string
since

4.0.0

Arguments

$count

integerThe count of installed Extensions

Response

stringThe text for the note

processDiscover

Used for discovering extensions

processDiscover() : integer
throws

\Exception

since

4.0.0

Response

integerThe count of discovered 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)

\Symfony\Component\Console\Input\InputInterface

ioStyle

SymfonyStyle Object

since

4.0.0

Type(s)

\Symfony\Component\Console\Style\SymfonyStyle