Users
in package
implements
UserInterface, PasswordAuthenticatedUserInterface
Uses
CreatedAtTrait
Interfaces, Classes, Traits and Enums
- UserInterface
- PasswordAuthenticatedUserInterface
Table of Contents
- $address : string|null
- $city : string|null
- $created_at : DateTimeImmutable|null
- $email : string|null
- $firstname : string|null
- $id : int|null
- $is_verified : mixed
- $lastname : string|null
- $orders : Collection
- $password : string|null
- $resetToken : mixed
- $roles : array<string|int, mixed>
- $zipcode : string|null
- __construct() : mixed
- eraseCredentials() : mixed
- getAddress() : string|null
- getCity() : string|null
- getCreatedAt() : DateTimeImmutable|null
- getEmail() : string|null
- getFirstname() : string|null
- getId() : int|null
- getIsVerified() : bool|null
- getLastname() : string|null
- getPassword() : string
- getResetToken() : string|null
- getRoles() : array<string|int, mixed>
- getUserIdentifier() : string
- A visual identifier that represents this user.
- getZipcode() : string|null
- setAddress() : self
- setCity() : self
- setCreatedAt() : self
- setEmail() : self
- setFirstname() : self
- setIsVerified() : self
- setLastname() : self
- setPassword() : self
- setResetToken() : self
- setRoles() : self
- setZipcode() : self
Properties
$address
private
string|null
$address
= null
$city
private
string|null
$city
= null
$created_at
private
DateTimeImmutable|null
$created_at
= null
private
string|null
$email
= null
$firstname
private
string|null
$firstname
= null
$id
private
int|null
$id
= null
$is_verified
private
mixed
$is_verified
= false
$lastname
private
string|null
$lastname
= null
$orders
private
Collection
$orders
$password
private
string|null
$password
= null
The hashed password
$resetToken
private
mixed
$resetToken
$roles
private
array<string|int, mixed>
$roles
= []
$zipcode
private
string|null
$zipcode
= null
Methods
__construct()
public
__construct() : mixed
Return values
mixed —eraseCredentials()
public
eraseCredentials() : mixed
Tags
Return values
mixed —getAddress()
public
getAddress() : string|null
Return values
string|null —getCity()
public
getCity() : string|null
Return values
string|null —getCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null —getEmail()
public
getEmail() : string|null
Return values
string|null —getFirstname()
public
getFirstname() : string|null
Return values
string|null —getId()
public
getId() : int|null
Return values
int|null —getIsVerified()
public
getIsVerified() : bool|null
Return values
bool|null —getLastname()
public
getLastname() : string|null
Return values
string|null —getPassword()
public
getPassword() : string
Tags
Return values
string —getResetToken()
public
getResetToken() : string|null
Return values
string|null —getRoles()
public
getRoles() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getUserIdentifier()
A visual identifier that represents this user.
public
getUserIdentifier() : string
Tags
Return values
string —getZipcode()
public
getZipcode() : string|null
Return values
string|null —setAddress()
public
setAddress(string $address) : self
Parameters
- $address : string
Return values
self —setCity()
public
setCity(string $city) : self
Parameters
- $city : string
Return values
self —setCreatedAt()
public
setCreatedAt(DateTimeImmutable $created_at) : self
Parameters
- $created_at : DateTimeImmutable
Return values
self —setEmail()
public
setEmail(string $email) : self
Parameters
- $email : string
Return values
self —setFirstname()
public
setFirstname(string $firstname) : self
Parameters
- $firstname : string
Return values
self —setIsVerified()
public
setIsVerified(bool $is_verified) : self
Parameters
- $is_verified : bool
Return values
self —setLastname()
public
setLastname(string $lastname) : self
Parameters
- $lastname : string
Return values
self —setPassword()
public
setPassword(string $password) : self
Parameters
- $password : string
Return values
self —setResetToken()
public
setResetToken(string $resetToken) : self
Parameters
- $resetToken : string
Return values
self —setRoles()
public
setRoles(array<string|int, mixed> $roles) : self
Parameters
- $roles : array<string|int, mixed>
Return values
self —setZipcode()
public
setZipcode(string $zipcode) : self
Parameters
- $zipcode : string