Souscription
in package
Tags
Table of Contents
- $date : DateTime
- $forfait : Forfait|null
- $heureQuotas : HeureQuota|Collection
- $id : int|null
- $interventions : Intervention|Collection
- $nbheure : int|null
- $prix : float|null
- $profesionnel : Profesionnel
- __construct() : mixed
- __toString() : string
- addHeureQuota() : self
- addIntervention() : self
- getDate() : DateTimeInterface|null
- getForfait() : Forfait|null
- getHeureQuotas() : Collection<int, HeureQuota>
- getId() : int|null
- getInterventions() : Collection<int, Intervention>
- getNbheure() : int|null
- getNbHeureRemaining() : float
- getPrix() : float|null
- getProfesionnel() : Profesionnel|null
- hasHeureQuota() : bool
- isOver() : bool
- isOverload() : bool
- removeHeureQuota() : self
- removeIntervention() : self
- setDate() : self
- setForfait() : self
- setNbheure() : self
- setPrix() : self
- setProfesionnel() : self
- sumHeureQuota() : float
Properties
$date
private
DateTime
$date
Tags
$forfait
private
Forfait|null
$forfait
Tags
$heureQuotas
private
HeureQuota|Collection
$heureQuotas
Tags
$id
private
int|null
$id
Tags
$interventions
private
Intervention|Collection
$interventions
Tags
$nbheure
private
int|null
$nbheure
Tags
$prix
private
float|null
$prix
Tags
$profesionnel
private
Profesionnel
$profesionnel
Tags
Methods
__construct()
public
__construct(Profesionnel $pro) : mixed
Parameters
- $pro : Profesionnel
Return values
mixed —__toString()
public
__toString() : string
Return values
string —addHeureQuota()
public
addHeureQuota(HeureQuota $heureQuota) : self
Parameters
- $heureQuota : HeureQuota
Return values
self —addIntervention()
public
addIntervention(Intervention $intervention) : self
Parameters
- $intervention : Intervention
Return values
self —getDate()
public
getDate() : DateTimeInterface|null
Return values
DateTimeInterface|null —getForfait()
public
getForfait() : Forfait|null
Return values
Forfait|null —getHeureQuotas()
public
getHeureQuotas() : Collection<int, HeureQuota>
Return values
Collection<int, HeureQuota> —getId()
public
getId() : int|null
Return values
int|null —getInterventions()
public
getInterventions() : Collection<int, Intervention>
Return values
Collection<int, Intervention> —getNbheure()
public
getNbheure() : int|null
Return values
int|null —getNbHeureRemaining()
public
getNbHeureRemaining() : float
Return values
float —getPrix()
public
getPrix() : float|null
Return values
float|null —getProfesionnel()
public
getProfesionnel() : Profesionnel|null
Return values
Profesionnel|null —hasHeureQuota()
public
hasHeureQuota() : bool
Return values
bool —isOver()
public
isOver() : bool
Return values
bool —isOverload()
public
isOverload() : bool
Return values
bool —removeHeureQuota()
public
removeHeureQuota(HeureQuota $heureQuota) : self
Parameters
- $heureQuota : HeureQuota
Return values
self —removeIntervention()
public
removeIntervention(Intervention $intervention) : self
Parameters
- $intervention : Intervention
Return values
self —setDate()
public
setDate(DateTimeInterface $date) : self
Parameters
- $date : DateTimeInterface
Return values
self —setForfait()
public
setForfait(Forfait|null $forfait) : self
Parameters
- $forfait : Forfait|null
Return values
self —setNbheure()
public
setNbheure(int $nbheure) : self
Parameters
- $nbheure : int
Return values
self —setPrix()
public
setPrix(float $prix) : self
Parameters
- $prix : float
Return values
self —setProfesionnel()
public
setProfesionnel(Profesionnel|null $profesionnel) : self
Parameters
- $profesionnel : Profesionnel|null
Return values
self —sumHeureQuota()
public
sumHeureQuota() : float