Event emitted before action execution.
Methods¶
__construct() ¶
BeforeRemoveEntryEvent.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$entry | EntryInterface | - | - |
$cartResult | CartInterface|null | null | - |
getCart() ¶
BeforeRemoveEntryEvent.php
:
31
|
|
Return values
getCartResult() ¶
BeforeRemoveEntryEvent.php
:
41
|
|
Return values
getEntry() ¶
BeforeRemoveEntryEvent.php
:
36
|
|
Return values
hasCartResult() ¶
BeforeRemoveEntryEvent.php
:
57
|
|
Return values
bool
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
setCartResult() ¶
BeforeRemoveEntryEvent.php
:
52
|
|
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().