ListUserCommand

Extends \Joomla\Console\Command\AbstractCommand

Console command to list existing users

since

4.0.0

package

Joomla CMS

Methods

__construct

Command constructor.

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

4.2.0

Arguments

db

\Joomla\Database\DatabaseInterfaceThe database

Response

mixed

configure

Configure the command.

configure() : void
since

4.0.0

configureIO

Configure 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\InputInterfaceThe input to inject into the command.

output

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

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

Properties

defaultName

The default command name

static
since

4.0.0

Type(s)

string

ioStyle

SymfonyStyle Object

since

4.0.0

Type(s)

object