UserModule
Less than 1 minute
UserModule
Class UserModule.
Console module for managing users in the application. Provides commands to add, delete, and change user passwords.
Methods
configure
Configures the module by adding user management commands and arguments.
protected configure(): voidexecute
Executes the user management command (add, del, passwd).
protected execute(Input $input, Output $output): intParameters
| Parameter | Type | Description |
|---|---|---|
$input | Input | the input interface for command arguments |
$output | Output | the output interface for writing messages |
readCredential
Reads a password from the user, confirming and validating its length.
private readCredential(): stringGenerated by Hazaar API Doc Generator on Sun, 01 Mar 2026 09:22:27 +0000