Generate and return a random password
See WireRandom::pass() method for details.
Usage
// basic usage
$string = $password->randomPass();
// usage with all arguments
$string = $password->randomPass(array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
options (optional) | array | See WireRandom::pass() for options |
Return value
string
Password methods and properties
API reference based on ProcessWire core version 3.0.236