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  : Commande
$cp  : string
$dateInsertion  : mixed
$devis  : Devis
$echangeClients  : EchangeClient
$id  : int
$interventions  : Intervention
$mail  : string
$pays  : string
$reparations  : Reparation
$rue  : string
$ville  : string
__construct()  : mixed
__toString()  : string
addCommande()  : self
addDevi()  : self
addEchangeClient()  : self
addIntervention()  : self
addReparation()  : self
formatTelephone()  : string
getAdresse()  : void
getCommandeFournisseur()  : ArrayCollection
getCommandes()  : Collection
getCp()  : string|null
getDateInsertion()  : DateTimeInterface|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()  : bool
hasSupplierOrder()  : bool
removeCommande()  : self
removeDevi()  : self
removeEchangeClient()  : self
removeIntervention()  : self
removeReparation()  : self
setCp()  : self
setDateInsertion()  : self
setMail()  : self
setPays()  : self
setRue()  : self
setVille()  : self

Properties

$commandes

private Commande $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)

$dateInsertion

private mixed $dateInsertion
Tags
ORM\Column

(type="datetime")

$devis

private Devis $devis
Tags
ORM\OneToMany

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

$echangeClients

private EchangeClient $echangeClients
Tags
ORM\OneToMany

(targetEntity=EchangeClient::class, mappedBy="client",cascade={"remove"})

$id

private int $id
Tags
ORM\Column

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

ORM\Id
ORM\GeneratedValue

(strategy="IDENTITY")

$interventions

private Intervention $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 Reparation $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 $mail = '' ]) : mixed
Parameters
$mail : mixed = ''
Return values
mixed

__toString()

public __toString() : string
Return values
string

addCommande()

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

addDevi()

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

formatTelephone()

public formatTelephone(mixed $telephone) : string
Parameters
$telephone : mixed
Return values
string

getAdresse()

public getAdresse() : void
Return values
void

getCommandeFournisseur()

public getCommandeFournisseur() : ArrayCollection
Return values
ArrayCollection

getCommandes()

public getCommandes() : Collection
Return values
Collection

getCp()

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

getDateInsertion()

public getDateInsertion() : DateTimeInterface|null
Return values
DateTimeInterface|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() : bool
Return values
bool

hasSupplierOrder()

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

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

setDateInsertion()

public setDateInsertion(DateTimeInterface $dateInsertion) : self
Parameters
$dateInsertion : DateTimeInterface
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