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


        
On this page

Search results