Documentation

Livraison
in package

Tags
ORM\Entity

(repositoryClass=LivraisonRepository::class)

Table of Contents

$commande  : Commande|null
$date_effectue  : DateTime|null
$date_prevu  : DateTime|null
$id  : int|null
$reparation  : Reparation|null
$technicien  : Technicien|Collection
$transporteur  : Transporteur|null
__construct()  : mixed
__toString()  : string
addTechnicien()  : self
getCommande()  : Commande|null
getDateEffectue()  : DateTimeInterface|null
getDatePrevu()  : DateTimeInterface|null
getFormattedDate()  : string
getId()  : int|null
getReparation()  : Reparation|null
getTechnicien()  : Collection<int, Technicien>
getTransporteur()  : Transporteur|null
hasTransporteur()  : bool
removeTechnicien()  : self
setCommande()  : self
setDateEffectue()  : self
setDatePrevu()  : self
setReparation()  : self
setTransporteur()  : self

Properties

$commande

private Commande|null $commande
Tags
ORM\ManyToOne

(targetEntity=Commande::class, inversedBy="livraisons")

$date_effectue

private DateTime|null $date_effectue
Tags
ORM\Column

(type="datetime", nullable=true)

$date_prevu

private DateTime|null $date_prevu
Tags
ORM\Column

(type="datetime")

$id

private int|null $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$reparation

private Reparation|null $reparation
Tags
ORM\ManyToOne

(targetEntity=Reparation::class, inversedBy="livraisons")

$technicien

private Technicien|Collection $technicien
Tags
ORM\ManyToMany

(targetEntity=Technicien::class, inversedBy="livraisons")

$transporteur

private Transporteur|null $transporteur
Tags
ORM\ManyToOne

(targetEntity=Transporteur::class, inversedBy="livraisons",cascade={"persist"})

Methods

__construct()

public __construct([mixed $tech = null ][, mixed $rep = null ][, mixed $cmd = null ][, mixed $transporteur = null ]) : mixed
Parameters
$tech : mixed = null
$rep : mixed = null
$cmd : mixed = null
$transporteur : mixed = null
Return values
mixed

__toString()

public __toString() : string
Return values
string

getDateEffectue()

public getDateEffectue() : DateTimeInterface|null
Return values
DateTimeInterface|null

getDatePrevu()

public getDatePrevu() : DateTimeInterface|null
Return values
DateTimeInterface|null

getFormattedDate()

public getFormattedDate([mixed $date = null ]) : string
Parameters
$date : mixed = null
Return values
string

getId()

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

hasTransporteur()

public hasTransporteur() : bool
Return values
bool

setCommande()

public setCommande(Commande|null $commande) : self
Parameters
$commande : Commande|null
Return values
self

setDateEffectue()

public setDateEffectue(DateTimeInterface|null $date_effectue) : self
Parameters
$date_effectue : DateTimeInterface|null
Return values
self

setDatePrevu()

public setDatePrevu(DateTimeInterface $date_prevu) : self
Parameters
$date_prevu : DateTimeInterface
Return values
self

Search results