DeleteUserCommand
Extends \Joomla\Console\Command\AbstractCommandConsole command for deleting a user
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\DatabaseInterface
The 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\InputInterface
The input to inject into the command.- output
\Symfony\Component\Console\Output\OutputInterface
The 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\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
getStringFromOption
Method to get a value from option
getStringFromOption(string option, string question) : string
since |
4.0.0 |
---|
Arguments
- option
string
set the option name- question
string
set the question if user enters no value to option
Response
string