Back to Joomla project (class list)

Class DeleteUserCommand - list of methods

Console command for deleting a user
Package: Joomla\CMS\Console
Copyright: (C) 2019 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Console/DeleteUserCommand.php
Project: Joomla

Method Summary

protected int
(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)

Internal function to execute the command.
Parameters
  • \Symfony\Component\Console\Input\InputInterface $input The input to inject into the command.
  • \Symfony\Component\Console\Output\OutputInterface $output The output to inject into the command.
Returns
  • int The command exit code
Since
  • 4.0.0
Show source code of this method: doExecute Source Code

protected string
(mixed $option, mixed $question)

Method to get a value from option
Parameters
  • string $option set the option name
  • string $question set the question if user enters no value to option
Returns
  • string
Since
  • 4.0.0
Show source code of this method: getStringFromOption Source Code

private void
(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output)

Configure the IO.
Parameters
  • \Symfony\Component\Console\Input\InputInterface $input The input to inject into the command.
  • \Symfony\Component\Console\Output\OutputInterface $output The output to inject into the command.
Returns
  • void
Since
  • 4.0.0
Show source code of this method: configureIO Source Code

protected void
()

Configure the command.
Returns
  • void
Since
  • 4.0.0
Show source code of this method: configure Source Code

Properties Summary

protected static string
$defaultName
The default command name
Since
  • 4.0.0
private object
$ioStyle
SymfonyStyle Object
Since
  • 4.0.0
private object
$cliInput
Stores the Input Object
Since
  • 4.0.0
private string
$username
The username
Since
  • 4.0.0

Tags Summary

Since
4.0.0