BConnect POS - Reference PHP

SaleCancellationFundSubscriber
in package

Attributes
#[AsDoctrineListener]
$event: \Doctrine\ORM\Events::onFlush

Table of Contents

Properties

$security  : Security

Methods

__construct()  : mixed
onFlush()  : void
buildCancellationMotif()  : string
Keep this label aligned with SaleController::cancelSale().
cancellationFundExists()  : bool

Properties

Methods

buildCancellationMotif()

Keep this label aligned with SaleController::cancelSale().

private buildCancellationMotif(Sale $sale) : string
Parameters
$sale : Sale
Return values
string

cancellationFundExists()

private cancellationFundExists(Sale $sale, string $motif, array<string|int, object> $scheduledInsertions) : bool
Parameters
$sale : Sale
$motif : string
$scheduledInsertions : array<string|int, object>
Return values
bool
On this page

Search results