Documentation

Accompte
in package

Tags
ORM\Entity

(repositoryClass=AccompteRepository::class)

Table of Contents

$amount  : float
$commande  : Commande
$date  : DateTime
$id  : int
getAmount()  : float|null
getCommande()  : Commande|null
getDate()  : DateTimeInterface|null
getFormattedDate()  : string
getId()  : int|null
setAmount()  : self
setCommande()  : self
setDate()  : self

Properties

$amount

private float $amount
Tags
ORM\Column

(type="float")

$commande

private Commande $commande
Tags
ORM\ManyToOne

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

$date

private DateTime $date
Tags
ORM\Column

(type="datetime")

$id

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

(type="integer")

Methods

getAmount()

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

getDate()

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

getFormattedDate()

public getFormattedDate() : string
Return values
string

getId()

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

setAmount()

public setAmount(float $amount) : self
Parameters
$amount : float
Return values
self

setCommande()

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

setDate()

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

Search results