Documentation

Intervention
in package

Tags
ORM\Entity

(repositoryClass=InterventionRepository::class)

Table of Contents

$client  : Client|null
$commande  : Commande|Collection
$date  : DateTime
$description  : string|null
$devis  : Devis|Collection
$diag  : Diagnostic|null
$distance  : float|null
$etapes  : Etapes|Collection
$heure  : float|null
$id  : int|null
$images  : mixed
$montant  : float|null
$numero  : string|null
$pause  : string|null
$reparation  : Reparation|Collection
$souscriptions  : Souscription|Collection
$status  : Status|null
$txHeure  : float|null
$txKm  : float|null
$type  : string
__construct()  : mixed
__toString()  : string
addCommande()  : self
addDevis()  : self
addEtape()  : self
addImage()  : mixed
addReparation()  : self
addSouscription()  : self
distanceHT()  : float
getClient()  : Client|null
getCommande()  : Collection
getDate()  : DateTime
getDescription()  : string|null
getDevis()  : Collection
getDiag()  : Diagnostic|null
getDistance()  : float|null
getEchangeClients()  : array<string|int, mixed>
getEtapes()  : Collection
getFormattedDate()  : string
getFormattedLocalDate()  : string
getHeure()  : float|null
getId()  : int|null
getImages()  : array<string|int, mixed>|null
getMontant()  : float|null
getNumero()  : string|null
getPause()  : string|null
getReparation()  : Collection|array<string|int, reparation>
getSouscriptions()  : Collection<int, Souscription>
getStatus()  : Status|null
getTotalHT()  : float|int
getTotalTTC()  : float|int|null
getTxHeure()  : float|null
getTxKm()  : float|null
getType()  : string|null
getValidateDevis()  : Devis|null
hasDevis()  : bool
hasReparation()  : bool
hasValidateDevis()  : bool
heureHT()  : float
removeCommande()  : self
removeDevis()  : self
removeEtape()  : self
removeImage()  : mixed
removeReparation()  : self
removeSouscription()  : self
setClient()  : self
setDate()  : self
setDescription()  : self
setDevis()  : mixed
setDiag()  : self
setDistance()  : self
setHeure()  : self
setImages()  : self
setMontant()  : self
setNumero()  : self
setPause()  : self
setStatus()  : self
setTxHeure()  : self
setTxKm()  : self
setType()  : self
totalDistanceHT()  : float
totalHeureHT()  : float
updateDistance()  : mixed
updateHeure()  : mixed

Properties

$client

private Client|null $client
Tags
ORM\ManyToOne

(targetEntity=Client::class, inversedBy="interventions")

ORM\JoinColumn

(nullable=false)

$commande

private Commande|Collection $commande
Tags
ORM\OneToMany

(targetEntity=Commande::class, mappedBy="intervention")

$date

private DateTime $date
Tags
ORM\Column

(type="datetime",nullable=true)

$description

private string|null $description
Tags
ORM\Column

(type="text", nullable=true)

$devis

private Devis|Collection $devis
Tags
ORM\OneToMany

(targetEntity=Devis::class, mappedBy="intervention",cascade={"persist","remove"})

$diag

private Diagnostic|null $diag
Tags
ORM\OneToOne

(targetEntity=Diagnostic::class, cascade={"persist", "remove"})

$distance

private float|null $distance
Tags
ORM\Column

(type="float")

$etapes

private Etapes|Collection $etapes
Tags
ORM\OneToMany

(targetEntity=Etapes::class, mappedBy="intervention",cascade={"persist","remove"})

$heure

private float|null $heure
Tags
ORM\Column

(type="float")

$id

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

(type="integer")

$images

private mixed $images = []
Tags
ORM\Column

(type="array", nullable=true)

$montant

private float|null $montant
Tags
ORM\Column

(type="float", nullable=true)

$numero

private string|null $numero
Tags
ORM\Column

(type="string", length=255)

$pause

private string|null $pause
Tags
ORM\Column

(type="text", nullable=true)

$reparation

private Reparation|Collection $reparation
Tags
ORM\OneToMany

(targetEntity=Reparation::class, mappedBy="intervention",cascade={"persist","remove"})

$souscriptions

private Souscription|Collection $souscriptions
Tags
ORM\ManyToMany

(targetEntity=Souscription::class, mappedBy="interventions")

$status

private Status|null $status
Tags
ORM\ManyToOne

(targetEntity=Status::class, inversedBy="interventions")

$txHeure

private float|null $txHeure
Tags
ORM\Column

(type="float")

$txKm

private float|null $txKm
Tags
ORM\Column

(type="float")

$type

private string $type
Tags
ORM\Column

(type="string", length=255)

Methods

__construct()

public __construct() : mixed
Return values
mixed

__toString()

public __toString() : string
Return values
string

addImage()

public addImage(string $image) : mixed
Parameters
$image : string
Return values
mixed

addReparation()

public addReparation(reparation $reparation) : self
Parameters
$reparation : reparation
Return values
self

distanceHT()

public distanceHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

getCommande()

public getCommande() : Collection
Return values
Collection

getDate()

public getDate() : DateTime
Return values
DateTime

getDescription()

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

getDevis()

public getDevis() : Collection
Return values
Collection

getDistance()

public getDistance() : float|null
Return values
float|null

getEchangeClients()

public getEchangeClients() : array<string|int, mixed>
Return values
array<string|int, mixed>

getEtapes()

public getEtapes() : Collection
Return values
Collection

getFormattedDate()

public getFormattedDate() : string
Return values
string

getFormattedLocalDate()

public getFormattedLocalDate() : string
Return values
string

getHeure()

public getHeure() : float|null
Return values
float|null

getId()

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

getImages()

public getImages() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

getMontant()

public getMontant() : float|null
Return values
float|null

getNumero()

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

getPause()

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

getReparation()

public getReparation() : Collection|array<string|int, reparation>
Return values
Collection|array<string|int, reparation>

getTotalHT()

public getTotalHT(mixed $tva) : float|int
Parameters
$tva : mixed
Return values
float|int

getTotalTTC()

public getTotalTTC() : float|int|null
Return values
float|int|null

getTxHeure()

public getTxHeure() : float|null
Return values
float|null

getTxKm()

public getTxKm() : float|null
Return values
float|null

getType()

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

hasDevis()

public hasDevis() : bool
Return values
bool

hasReparation()

public hasReparation() : bool
Return values
bool

hasValidateDevis()

public hasValidateDevis() : bool
Return values
bool

heureHT()

public heureHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

removeImage()

public removeImage(string $image) : mixed
Parameters
$image : string
Return values
mixed

removeReparation()

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

setDate()

public setDate(DateTimeInterface $date) : self
Parameters
$date : DateTimeInterface
Return values
self

setDescription()

public setDescription(string|null $description) : self
Parameters
$description : string|null
Return values
self

setDevis()

public setDevis(Collection $devis) : mixed
Parameters
$devis : Collection
Return values
mixed

setDistance()

public setDistance(float $distance) : self
Parameters
$distance : float
Return values
self

setHeure()

public setHeure(float $heure) : self
Parameters
$heure : float
Return values
self

setImages()

public setImages(array<string|int, mixed>|null $images) : self
Parameters
$images : array<string|int, mixed>|null
Return values
self

setMontant()

public setMontant(float|null $montant) : self
Parameters
$montant : float|null
Return values
self

setNumero()

public setNumero(string $numero) : self
Parameters
$numero : string
Return values
self

setPause()

public setPause(string|null $pause) : self
Parameters
$pause : string|null
Return values
self

setTxHeure()

public setTxHeure(float $txHeure) : self
Parameters
$txHeure : float
Return values
self

setTxKm()

public setTxKm(float $txKm) : self
Parameters
$txKm : float
Return values
self

setType()

public setType(string $type) : self
Parameters
$type : string
Return values
self

totalDistanceHT()

public totalDistanceHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

totalHeureHT()

public totalHeureHT(mixed $tva) : float
Parameters
$tva : mixed
Return values
float

updateDistance()

public updateDistance(mixed $distance, mixed $tarif) : mixed
Parameters
$distance : mixed
$tarif : mixed
Return values
mixed

updateHeure()

public updateHeure(mixed $heure, mixed $tarif) : mixed
Parameters
$heure : mixed
$tarif : mixed
Return values
mixed

Search results