UserModule
Less than 1 minute
UserModule
Class UserModule.
class UserModule extends \Hazaar\Console\ModuleExtends: Hazaar\Console\Module
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(): voidReturns: void
execute
Executes the user management command (add, del, passwd).
protected execute(Input $input, Output $output): intReturns: int
Parameters
| Parameter | Type | Description |
|---|---|---|
$input | Hazaar\Console\Input | the input interface for command arguments |
$output | Hazaar\Console\Output | the output interface for writing messages |
readCredential
Reads a password from the user, confirming and validating its length.
private readCredential(): stringReturns: string
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:18 +0000