-
#[ApiResource]
-
$operations: [new \ApiPlatform\Metadata\GetCollection(controller: \App\Controller\Api\GetFundListAndStatsController::class), new \ApiPlatform\Metadata\Post()]
-
$normalizationContext: ['groups' => ['fund:read']]
-
$denormalizationContext: ['groups' => ['fund:write']]
-
$filters: [\App\Filter\PointOfSaleParamFilter::class]
-
#[Entity]
-
$repositoryClass: \App\Repository\FundRepository::class
Table of Contents
Properties
-
$created_at
: DateTimeImmutable|null
-
$historyFunds
: Collection
-
$id
: int|null
-
$invoice
: string|null
-
$motif
: string|null
-
$pointOfSaleId
: int|null
-
$solde
: float|null
-
$type
: string|null
Methods
-
__construct()
: mixed
-
addHistoryFund()
: static
-
getCreatedAt()
: DateTimeImmutable|null
-
getHistoryFunds()
: Collection<int, HistoryFund>
-
getId()
: int|null
-
getInvoice()
: string|null
-
getMotif()
: string|null
-
getPointOfSaleId()
: int|null
-
getSolde()
: float|null
-
getType()
: string|null
-
removeHistoryFund()
: static
-
setCreatedAt()
: static
-
setInvoice()
: static
-
setMotif()
: static
-
setPointOfSaleId()
: static
-
setSolde()
: static
-
setType()
: static
$created_at
private
DateTimeImmutable|null
$created_at
= null
-
#[Column]
-
#[Groups]
-
['fund:read', 'fund:write']
$historyFunds
private
Collection
$historyFunds
-
#[OneToMany]
-
$mappedBy: 'fund'
-
$targetEntity: \App\Entity\HistoryFund::class
$id
private
int|null
$id
= null
-
#[Column]
-
#[GeneratedValue]
-
#[Groups]
-
['fund:read']
-
#[Id]
$invoice
private
string|null
$invoice
= null
-
#[Column]
-
$length: 255
-
$nullable: true
-
#[Groups]
-
['fund:read', 'fund:write']
$motif
private
string|null
$motif
= null
-
#[Column]
-
$length: 255
-
#[Groups]
-
['fund:read', 'fund:write']
$pointOfSaleId
private
int|null
$pointOfSaleId
= null
-
#[Column]
-
#[Groups]
-
['fund:read', 'fund:write']
$solde
private
float|null
$solde
= null
-
#[Column]
-
#[Groups]
-
['fund:read', 'fund:write']
$type
private
string|null
$type
= null
-
#[Column]
-
$length: 255
-
#[Groups]
-
['fund:read', 'fund:write']
__construct()
public
__construct() : mixed
addHistoryFund()
public
addHistoryFund(HistoryFund $historyFund) : static
Parameters
-
$historyFund
: HistoryFund
-
getCreatedAt()
public
getCreatedAt() : DateTimeImmutable|null
Return values
DateTimeImmutable|null
getHistoryFunds()
public
getHistoryFunds() : Collection<int, HistoryFund>
getId()
public
getId() : int|null
getInvoice()
public
getInvoice() : string|null
Return values
string|null
getMotif()
public
getMotif() : string|null
Return values
string|null
getPointOfSaleId()
public
getPointOfSaleId() : int|null
getSolde()
public
getSolde() : float|null
getType()
public
getType() : string|null
Return values
string|null
removeHistoryFund()
public
removeHistoryFund(HistoryFund $historyFund) : static
Parameters
-
$historyFund
: HistoryFund
-
setCreatedAt()
public
setCreatedAt(DateTimeImmutable $created_at) : static
Parameters
-
$created_at
: DateTimeImmutable
-
setInvoice()
public
setInvoice(string|null $invoice) : static
Parameters
-
$invoice
: string|null
-
setMotif()
public
setMotif(string $motif) : static
Parameters
-
$motif
: string
-
setPointOfSaleId()
public
setPointOfSaleId(int $pointOfSaleId) : static
Parameters
-
$pointOfSaleId
: int
-
setSolde()
public
setSolde(float $solde) : static
Parameters
-
$solde
: float
-
setType()
public
setType(string $type) : static
Parameters
-
$type
: string
-