Event emitted before action execution.
Methods¶
__construct() ¶
BeforeUpdateEntryEvent.php
:
27
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$entry | EntryInterface | - | - |
$entryUpdateStruct | EntryUpdateStruct | - | - |
$cartResult | CartInterface|null | null | - |
getCart() ¶
BeforeUpdateEntryEvent.php
:
39
|
|
Return values
getCartResult() ¶
BeforeUpdateEntryEvent.php
:
54
|
|
Return values
getEntry() ¶
BeforeUpdateEntryEvent.php
:
44
|
|
Return values
getEntryUpdateStruct() ¶
BeforeUpdateEntryEvent.php
:
49
|
|
Return values
hasCartResult() ¶
BeforeUpdateEntryEvent.php
:
70
|
|
Return values
bool
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
setCartResult() ¶
BeforeUpdateEntryEvent.php
:
65
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cartResult | CartInterface|null | - | - |
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().