PasswordSetCommand extends Command
FinalYes
Table of Contents
Properties
- $configurationManager : ConfigurationManager
- $passwordHashFactory : PasswordHashFactory
- $random : Random
Methods
- __construct() : mixed
- configure() : void
- execute() : int
- Creates an install-tool password (either auto-generated or manual) and stores the hash (if not --dry-run)
- getQuestionHelper() : QuestionHelper
Properties
$configurationManager read-only
protected
ConfigurationManager
$configurationManager
$passwordHashFactory read-only
protected
PasswordHashFactory
$passwordHashFactory
$random read-only
protected
Random
$random
Methods
__construct()
public
__construct(string $name, PasswordHashFactory $passwordHashFactory, ConfigurationManager $configurationManager, Random $random) : mixed
Parameters
- $name : string
- $passwordHashFactory : PasswordHashFactory
- $configurationManager : ConfigurationManager
- $random : Random
configure()
public
configure() : void
execute()
Creates an install-tool password (either auto-generated or manual) and stores the hash (if not --dry-run)
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface
Tags
Return values
intgetQuestionHelper()
protected
getQuestionHelper() : QuestionHelper