Documentation

Client
in package

Client

Tags
ORM\Table

(name="client")

ORM\Entity

(repositoryClass=ClientRepository::class)

ORM\InheritanceType

("JOINED")

ORM\DiscriminatorColumn

(name = "type" , type="string")

ORM\DiscriminatorMap

({ "Cli" = "Client", "Pro"="Profesionnel", "Part"="Particulier",

})

Table of Contents

$commandes  : mixed
$cp  : string
$devis  : mixed
$echangeClients  : mixed
$id  : int
$interventions  : mixed
$mail  : string
$pays  : string
$reparations  : mixed
$rue  : string
$ville  : string
__construct()  : mixed
__toString()  : mixed
addCommande()  : self
addDevi()  : self
addEchangeClient()  : self
addIntervention()  : self
addReparation()  : self
getAdresse()  : mixed
getCommandeFournisseur()  : mixed
getCommandes()  : Collection
getCp()  : string|null
getDevis()  : Collection
getEchangeClients()  : Collection
getId()  : int|null
getInterventions()  : Collection
getMail()  : string|null
getPays()  : string|null
getReparations()  : Collection
getRue()  : string|null
getVille()  : string|null
hasSAV()  : mixed
hasSupplierOrder()  : mixed
removeCommande()  : self
removeDevi()  : self
removeEchangeClient()  : self
removeIntervention()  : self
removeReparation()  : self
setCp()  : self
setMail()  : self
setPays()  : self
setRue()  : self
setVille()  : self

Properties

$commandes

private mixed $commandes
Tags
ORM\OneToMany

(targetEntity=Commande::class, mappedBy="client", orphanRemoval=true)

$cp

private string $cp
Tags
ORM\Column

(name="cp", type="string", length=5, nullable=true)

$devis

private mixed $devis
Tags
ORM\OneToMany

(targetEntity=Devis::class, mappedBy="client", orphanRemoval=true)

$echangeClients

private mixed $echangeClients
Tags
ORM\OneToMany

(targetEntity=EchangeClient::class, mappedBy="client")

$id

private int $id
Tags
ORM\Column

(name="id", type="integer", nullable=false)

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$interventions

private mixed $interventions
Tags
ORM\OneToMany

(targetEntity=Intervention::class, mappedBy="client", orphanRemoval=true)

$mail

private string $mail
Tags
ORM\Column

(name="mail", type="string", length=255, nullable=false)

$pays

private string $pays
Tags
ORM\Column

(name="pays", type="string", length=255, nullable=true)

$reparations

private mixed $reparations
Tags
ORM\OneToMany

(targetEntity=Reparation::class, mappedBy="client", orphanRemoval=true)

$rue

private string $rue
Tags
ORM\Column

(name="rue", type="string", length=255, nullable=true)

$ville

private string $ville
Tags
ORM\Column

(name="ville", type="string", length=255, nullable=true)

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : mixed
Return values
mixed

addCommande()

public addCommande(Commande $commande) : self
Parameters
$commande : Commande
Return values
self

addDevi()

public addDevi(Devis $devi) : self
Parameters
$devi : Devis
Return values
self

getAdresse()

public getAdresse() : mixed
Return values
mixed

getCommandeFournisseur()

public getCommandeFournisseur() : mixed
Return values
mixed

getCommandes()

public getCommandes() : Collection
Return values
Collection

getCp()

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

getDevis()

public getDevis() : Collection
Return values
Collection

getEchangeClients()

public getEchangeClients() : Collection
Return values
Collection

getId()

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

getInterventions()

public getInterventions() : Collection
Return values
Collection

getMail()

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

getPays()

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

getReparations()

public getReparations() : Collection
Return values
Collection

getRue()

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

getVille()

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

hasSAV()

public hasSAV() : mixed
Return values
mixed

hasSupplierOrder()

public hasSupplierOrder([mixed $status = null ]) : mixed
Parameters
$status : mixed = null
Return values
mixed

removeCommande()

public removeCommande(Commande $commande) : self
Parameters
$commande : Commande
Return values
self

removeDevi()

public removeDevi(Devis $devi) : self
Parameters
$devi : Devis
Return values
self

removeReparation()

public removeReparation(Reparation $reparation) : self
Parameters
$reparation : Reparation
Return values
self

setCp()

public setCp(string $cp) : self
Parameters
$cp : string
Return values
self

setMail()

public setMail(string $mail) : self
Parameters
$mail : string
Return values
self

setPays()

public setPays(string $pays) : self
Parameters
$pays : string
Return values
self

setRue()

public setRue(string $rue) : self
Parameters
$rue : string
Return values
self

setVille()

public setVille(string $ville) : self
Parameters
$ville : string
Return values
self

Search results