Event emitted before action execution.
Methods¶
__construct() ¶
BeforeUpdateCartMetadataEvent.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$cart | CartInterface | - | - |
$cartUpdateStruct | CartMetadataUpdateStruct | - | - |
$cartResult | CartInterface|null | null | - |
getCart() ¶
BeforeUpdateCartMetadataEvent.php
:
34
|
|
Return values
getCartResult() ¶
BeforeUpdateCartMetadataEvent.php
:
44
|
|
Return values
getCartUpdateStruct() ¶
BeforeUpdateCartMetadataEvent.php
:
39
|
|
Return values
hasCartResult() ¶
BeforeUpdateCartMetadataEvent.php
:
60
|
|
Return values
bool
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
setCartResult() ¶
BeforeUpdateCartMetadataEvent.php
:
55
|
|
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().