Documentation

Technicien extends User
in package

Tags
ORM\Entity

(repositoryClass=TechnicienRepository::class)

Table of Contents

$notifications  : mixed
$chats  : mixed
$diagnostics  : mixed
$etapes  : mixed
$historiqueStocks  : mixed
$id  : mixed
$information  : mixed
$livraisons  : mixed
$messages  : mixed
$password  : string
$roles  : mixed
$savs  : mixed
$tickets  : mixed
$username  : mixed
__construct()  : mixed
__toString()  : mixed
addChat()  : self
addDiagnostic()  : self
addEtape()  : self
addHistoriqueStock()  : self
addInformation()  : self
addLivraison()  : self
addMessage()  : self
addNotification()  : self
addRole()  : self
addSav()  : self
addTicket()  : self
countUnread()  : mixed
eraseCredentials()  : mixed
getChats()  : Collection
getDiagnostics()  : Collection
getEtapes()  : Collection
getHistoriqueStocks()  : Collection
getId()  : int|null
getInformation()  : Collection<int, Information>
getLivraisons()  : Collection<int, Livraison>
getMessages()  : Collection
getNotifications()  : Collection<int, Notification>
getPassword()  : string
getRoles()  : array<string|int, mixed>
getSalt()  : string|null
Returning a salt is only needed, if you are not using a modern hashing algorithm (e.g. bcrypt or sodium) in your security.yaml.
getSavs()  : Collection
getTickets()  : Collection|array<string|int, Ticket>
getUsername()  : string
A visual identifier that represents this user.
is()  : bool
isAdmin()  : mixed
removeChat()  : self
removeDiagnostic()  : self
removeEtape()  : self
removeHistoriqueStock()  : self
removeInformation()  : self
removeLivraison()  : self
removeMessage()  : self
removeNotification()  : self
removeSav()  : self
removeTicket()  : self
setPassword()  : self
setRoles()  : self
setUsername()  : self
unseenNotifications()  : mixed

Properties

$notifications

protected mixed $notifications
Tags
ORM\OneToMany

(targetEntity=Notification::class, mappedBy="user",cascade={"persist","remove"})

$chats

private mixed $chats
Tags
ORM\ManyToMany

(targetEntity=Chat::class, mappedBy="user")

$diagnostics

private mixed $diagnostics
Tags
ORM\OneToMany

(targetEntity=Diagnostic::class, mappedBy="technicien")

$etapes

private mixed $etapes
Tags
ORM\OneToMany

(targetEntity=Etapes::class, mappedBy="technicien")

$historiqueStocks

private mixed $historiqueStocks
Tags
ORM\OneToMany

(targetEntity=HistoriqueStock::class, mappedBy="user")

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$information

private mixed $information
Tags
ORM\OneToMany

(targetEntity=Information::class, mappedBy="technicien")

$livraisons

private mixed $livraisons
Tags
ORM\ManyToMany

(targetEntity=Livraison::class, mappedBy="technicien")

$messages

private mixed $messages
Tags
ORM\OneToMany

(targetEntity=Message::class, mappedBy="user")

$password

private string $password

The hashed password

Tags
ORM\Column

(type="string")

$roles

private mixed $roles = []
Tags
ORM\Column

(type="json")

$savs

private mixed $savs
Tags
ORM\OneToMany

(targetEntity=Sav::class, mappedBy="Technicien", orphanRemoval=true)

$tickets

private mixed $tickets
Tags
ORM\OneToMany

(targetEntity=Ticket::class, mappedBy="technicien")

$username

private mixed $username
Tags
ORM\Column

(type="string", length=180, unique=true)

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

addChat()

public addChat(Chat $chat) : self
Parameters
$chat : Chat
Return values
self

addRole()

public addRole(string $role) : self
Parameters
$role : string
Return values
self

addSav()

public addSav(Sav $sav) : self
Parameters
$sav : Sav
Return values
self

countUnread()

public countUnread() : mixed
Return values
mixed

eraseCredentials()

public eraseCredentials() : mixed
Tags
see
UserInterface
Return values
mixed

getChats()

public getChats() : Collection
Return values
Collection

getDiagnostics()

public getDiagnostics() : Collection
Return values
Collection

getEtapes()

public getEtapes() : Collection
Return values
Collection

getHistoriqueStocks()

public getHistoriqueStocks() : Collection
Return values
Collection

getId()

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

getMessages()

public getMessages() : Collection
Return values
Collection

getPassword()

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

getRoles()

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

getSalt()

Returning a salt is only needed, if you are not using a modern hashing algorithm (e.g. bcrypt or sodium) in your security.yaml.

public getSalt() : string|null
Tags
see
UserInterface
Return values
string|null

getSavs()

public getSavs() : Collection
Return values
Collection

getTickets()

public getTickets() : Collection|array<string|int, Ticket>
Return values
Collection|array<string|int, Ticket>

getUsername()

A visual identifier that represents this user.

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

is()

public is(string $role) : bool
Parameters
$role : string
Return values
bool

isAdmin()

public isAdmin() : mixed
Return values
mixed

removeChat()

public removeChat(Chat $chat) : self
Parameters
$chat : Chat
Return values
self

removeNotification()

public removeNotification(Notification $notification) : self
Parameters
$notification : Notification
Return values
self

removeSav()

public removeSav(Sav $sav) : self
Parameters
$sav : Sav
Return values
self

removeTicket()

public removeTicket(Ticket $ticket) : self
Parameters
$ticket : Ticket
Return values
self

setPassword()

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

setRoles()

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

setUsername()

public setUsername(string $username) : self
Parameters
$username : string
Return values
self

unseenNotifications()

public unseenNotifications() : mixed
Return values
mixed

Search results