Event emitted after action execution.
Methods¶
__construct() ¶
DecreaseProductAvailabilityEvent.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$productAvailability | AvailabilityInterface | - | - |
$product | ProductInterface | - | - |
$amount | int | - | - |
getAmount() ¶
DecreaseProductAvailabilityEvent.php
:
43
|
|
Return values
int
getProduct() ¶
DecreaseProductAvailabilityEvent.php
:
38
|
|
Return values
getProductAvailability() ¶
DecreaseProductAvailabilityEvent.php
:
33
|
|
Return values
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
stopPropagation() ¶
Event.php
:
50
Stops the propagation of the event to further event listeners.
|
|
If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().