Copied!

BeforeUpdateCheckoutEvent

BeforeUpdateCheckoutEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateCheckoutEvent.php : 21
public __construct(CheckoutInterface $checkout, CheckoutUpdateStruct $updateStruct)

Parameters

Name Type Default value Description
$checkout CheckoutInterface - -
$updateStruct CheckoutUpdateStruct - -

publicgetCheckout()

BeforeUpdateCheckoutEvent.php : 27
public getCheckout() : CheckoutInterface

Return values

CheckoutInterface

publicgetUpdateStruct()

BeforeUpdateCheckoutEvent.php : 32
public getUpdateStruct() : CheckoutUpdateStruct

Return values

CheckoutUpdateStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

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().