Copied!

BeforeUpdateOrderEvent

BeforeUpdateOrderEvent.php : 16
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateOrderEvent.php : 24
public __construct(OrderInterface $order, OrderUpdateStruct $updateStruct[, OrderInterface|null $orderResult = null ])

Parameters

Name Type Default value Description
$order OrderInterface - -
$updateStruct OrderUpdateStruct - -
$orderResult OrderInterface|null null -

publicgetOrder()

BeforeUpdateOrderEvent.php : 34
public getOrder() : OrderInterface

Return values

OrderInterface

publicgetOrderResult()

BeforeUpdateOrderEvent.php : 44
public getOrderResult() : OrderInterface

Return values

OrderInterface

publicgetUpdateStruct()

BeforeUpdateOrderEvent.php : 39
public getUpdateStruct() : OrderUpdateStruct

Return values

OrderUpdateStruct

publichasOrderResult()

BeforeUpdateOrderEvent.php : 60
public hasOrderResult() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetOrderResult()

BeforeUpdateOrderEvent.php : 55
public setOrderResult(OrderInterface|null $orderResult) : void

Parameters

Name Type Default value Description
$orderResult OrderInterface|null - -

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().