PasswordGeneratorInterface
This is an interface that has to be used by all password generators.
Each password generator needs to implement the generate method that returns the generated password. In case an invalid option/configuration is passed to the generator, an InvalidPasswordRulesException or LogicException needs to be thrown.
Table of Contents
Methods
- generate() : string
Methods
generate()
public
generate(array<string|int, mixed> $options) : string
Parameters
- $options : array<string|int, mixed>