AdapterUserTrait
Adapter field trait
Tags
Table of Contents
Properties
- $passwordField : string
- Password field
- $user : mixed
- User data
- $usernameField : string
- Username field
Methods
- getPasswordField() : string
- Get the password field
- getUser() : mixed
- Get the user record
- getUsernameField() : string
- Get the username field
- setPasswordField() : static
- Set the password field
- setUsernameField() : static
- Set the username field
Properties
$passwordField
Password field
protected
string
$passwordField
= 'password'
$user
User data
protected
mixed
$user
= null
$usernameField
Username field
protected
string
$usernameField
= 'username'
Methods
getPasswordField()
Get the password field
public
getPasswordField() : string
Return values
stringgetUser()
Get the user record
public
getUser() : mixed
getUsernameField()
Get the username field
public
getUsernameField() : string
Return values
stringsetPasswordField()
Set the password field
public
setPasswordField(string $passwordField) : static
Parameters
- $passwordField : string
Return values
staticsetUsernameField()
Set the username field
public
setUsernameField(string $usernameField) : static
Parameters
- $usernameField : string