Event emitted before action execution.
Methods¶
__construct() ¶
BeforeUpdateOrderEvent.php
:
24
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$order | OrderInterface | - | - |
$updateStruct | OrderUpdateStruct | - | - |
$orderResult | OrderInterface|null | null | - |
getOrder() ¶
BeforeUpdateOrderEvent.php
:
34
|
|
Return values
getOrderResult() ¶
BeforeUpdateOrderEvent.php
:
44
|
|
Return values
getUpdateStruct() ¶
BeforeUpdateOrderEvent.php
:
39
|
|
Return values
hasOrderResult() ¶
BeforeUpdateOrderEvent.php
:
60
|
|
Return values
bool
isPropagationStopped() ¶
Event.php
:
38
|
|
Return values
bool
setOrderResult() ¶
BeforeUpdateOrderEvent.php
:
55
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$orderResult | OrderInterface|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().