mediatekformation

User
in package
implements UserInterface, PasswordAuthenticatedUserInterface

Attributes
#[Entity]
$repositoryClass: \App\Repository\UserRepository::class
#[UniqueConstraint]
$name: 'UNIQ_IDENTIFIER_EMAIL'
$fields: ['email']

Table of Contents

Interfaces

UserInterface
PasswordAuthenticatedUserInterface

Properties

$email  : string|null
$id  : int|null
$keycloakId  : string|null
$password  : string
$roles  : array<int, string>

Methods

eraseCredentials()  : void
getEmail()  : string|null
getId()  : int|null
getKeycloakID()  : string|null
getPassword()  : string
getRoles()  : array<int, string>
getUserIdentifier()  : string
A visual identifier that represents this user.
setEmail()  : static
setKeycloakID()  : static
setPassword()  : static
setRoles()  : static

Properties

$email

private string|null $email = null
Attributes
#[Column]
$length: 180

$id

private int|null $id = null
Attributes
#[Column]
#[GeneratedValue]
#[Id]

$keycloakId

private string|null $keycloakId = null
Attributes
#[Column]
$length: 255
$nullable: true

$password

private string $password = null

The hashed password

Attributes
#[Column]

$roles

private array<int, string> $roles = []

The user roles

Attributes
#[Column]

Methods

eraseCredentials()

public eraseCredentials() : void
Tags
see
UserInterface

getEmail()

public getEmail() : string|null
Return values
string|null

getId()

public getId() : int|null
Return values
int|null

getKeycloakID()

public getKeycloakID() : string|null
Return values
string|null

getPassword()

public getPassword() : string
Tags
see
PasswordAuthenticatedUserInterface
Return values
string

getRoles()

public getRoles() : array<int, string>
Tags
see
UserInterface
Return values
array<int, string>

getUserIdentifier()

A visual identifier that represents this user.

public getUserIdentifier() : string
Tags
see
UserInterface
Return values
string

setEmail()

public setEmail(string $email) : static
Parameters
$email : string
Return values
static

setKeycloakID()

public setKeycloakID(string|null $keycloakID) : static
Parameters
$keycloakID : string|null
Return values
static

setPassword()

public setPassword(string $password) : static
Parameters
$password : string
Return values
static

setRoles()

public setRoles(array<int, string> $roles) : static
Parameters
$roles : array<int, string>
Return values
static

        
On this page

Search results