CreateNewUser
in package
implements
CreatesNewUsers
uses
PasswordValidationRules
Table of Contents
Interfaces
- CreatesNewUsers
Methods
- create() : User
- Validate and create a newly registered user.
- passwordRules() : array<int, Rule|array<string|int, mixed>|string>
- Get the validation rules used to validate passwords.
Methods
create()
Validate and create a newly registered user.
public
create(array<string, string> $input) : User
Parameters
- $input : array<string, string>
Return values
UserpasswordRules()
Get the validation rules used to validate passwords.
protected
passwordRules() : array<int, Rule|array<string|int, mixed>|string>