Documentation

Souscription
in package

Tags
ORM\Entity

(repositoryClass=SouscriptionRepository::class)

Table of Contents

$date  : DateTime
$forfait  : Forfait|null
$heureQuotas  : HeureQuota|Collection
$id  : int|null
$interventions  : Intervention|Collection
$nbheure  : int|null
$prix  : float
$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
ORM\Column

(type="datetime")

$forfait

private Forfait|null $forfait
Tags
ORM\ManyToOne

(targetEntity=Forfait::class, inversedBy="nbHeure")

$heureQuotas

private HeureQuota|Collection $heureQuotas
Tags
ORM\OneToMany

(targetEntity=HeureQuota::class, mappedBy="souscription",cascade={"remove"})

$id

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

(type="integer")

$interventions

private Intervention|Collection $interventions
Tags
ORM\ManyToMany

(targetEntity=Intervention::class, inversedBy="souscriptions")

$nbheure

private int|null $nbheure
Tags
ORM\Column

(type="integer")

$prix

private float $prix
Tags
ORM\Column

(type="float")

$profesionnel

private Profesionnel $profesionnel
Tags
ORM\ManyToOne

(targetEntity=Profesionnel::class, inversedBy="souscriptions")

Methods

__toString()

public __toString() : string
Return values
string

getDate()

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

getId()

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

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

hasHeureQuota()

public hasHeureQuota() : bool
Return values
bool

isOverload()

public isOverload() : bool
Return values
bool

setDate()

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

sumHeureQuota()

public sumHeureQuota() : float
Return values
float

Search results